Post Created date
learning assembly, unexpected behavior
Thanks for the comments, Ill respond tomorrow, I was busy all day and forgot to check my post. Yes, I put resistors on, like 20 ohms where Vcc is 3v to get 20 ma through the led,...
Monday, 10 September 2012 - 09:23
learning assembly, unexpected behavior
Yeah, I'm doing this all on the actual 4313, but that's what I'm sayin, If it was working correctly I would see two full columns in respect to PIND1:0. But right now, it's frozen...
Sunday, 9 September 2012 - 06:37
Attiny85 Timer glitches
Actually now that I think of it, it looks like a time bomb, see the calling and returning of a function takes time, two more instructions, and by inlining it doesn't have those...
Sunday, 26 August 2012 - 06:33
Attiny85 Timer glitches
Ok so just for reference I figured it out and its weird. So I resorted to just turning on an LED and inserting PORTB |= (1 << LED); again and again to see where the LED...
Sunday, 26 August 2012 - 06:08
Attiny85 Timer glitches
Thanks snigelen but that didn't work, but I'm glad I found another problem void main(void) { DDRB = (1 << SPKR_PLUS) | (1 << SPKR_MINUS); sei();...
Saturday, 25 August 2012 - 21:14
Code breaks when small helper function removed
Yeah, I read that in your sig. I posted this earlier but I'm pretty sure I'm using -Os, I'm using a makefile from cornfield electronics, perhaps if you have time you can look over...
Thursday, 28 June 2012 - 10:03
Code breaks when small helper function removed
Dear clawson, it worked. The same thing happened to me earlier this week when I had a really phat delay in that section of code, but when I removed it, the uC started behaving...
Thursday, 28 June 2012 - 09:22
Code breaks when small helper function removed
also, the interval of flashes is very slow, and I never send more bytes than BUFFER_SIZE
Thursday, 28 June 2012 - 09:00
Code breaks when small helper function removed
Dear Jepael, I was thinking that but I didn't think faster execution couldn't hurt. I think that I'm actually just going to leave the spi code in. But, to all the big players this...
Thursday, 28 June 2012 - 08:48
[CODE] [C] Simplifying PORT and DDR #defines for Portability
hey cinderblock, very very clean code, I only wish I knew what your macros are actually doing, your code makes the most sense... once you get to use it in your code. Thanks for...
Tuesday, 20 December 2011 - 00:56