Post Created date
[TUT] [SOFT] Using the USART - Interrupt driven serial comms
Excellent guide man, as usual!
Tuesday, 5 October 2010 - 11:07
Mega164 availability?
js wrote:Quote:only difference is larger flash/RAM/EEPROM ...and the price... You are right, roughly 50% more.
Tuesday, 11 May 2010 - 06:11
Mega164 availability?
Yes, the ATmega324 is fully compatible, only difference is larger flash/RAM/EEPROM in the 324, even larger in the 644.
Monday, 10 May 2010 - 13:00
[TUT] [C] Bit manipulation (AKA "Programming 101")
Sure, I agree, it is not pretty with all these macros. However, it's nice to only use one simple argument when dealing with almost 100IO's, especially if I have to change pins....
Monday, 1 February 2010 - 07:26
[TUT] [C] Bit manipulation (AKA "Programming 101")
These were defined earlier in the thread: #define CLEARBIT(ADDRESS,BIT) (ADDRESS &= ~(1<<BIT)) #define VARFROMCOMB(x, y) x #define BITFROMCOMB(x, y) y #define C_CLEARBIT...
Sunday, 31 January 2010 - 22:33
[TUT] [C] Bit manipulation (AKA "Programming 101")
I'm not sure what you mean by this, please elaborate. I have been coding C for some time and these kind of definitions work perfectly when I.E. C_CLEARBIT expects only one...
Sunday, 31 January 2010 - 22:08
SPI with a digital pot
slow_rider wrote:[code]/* */ int main(void) { // --> SPI Setup PORT Setup Start
Sunday, 31 January 2010 - 21:50
[TUT] [C] Using the EEPROM memory in AVR-GCC
Just a note concerning the endurance of E/W cycles. Each E/W only affects the lifetime of the particular cell/byte. For instance, you can write to cell address 0 ~100k times, then...
Sunday, 31 January 2010 - 18:16
[TUT] [C] Using the EEPROM memory in AVR-GCC
Excellent guide. The freaks owes you a bundle!
Friday, 29 January 2010 - 17:28
[TUT] [C] Bit manipulation (AKA "Programming 101")
Just for new users: When a bit is checked, the "PINA" must be used. I.E. #define foo_input PINA,0. In the same manner "PORTA" are used when bits are set or cleared. I.E. #define...
Friday, 29 January 2010 - 17:26
[TUT] [C] Bit manipulation (AKA "Programming 101")
abcminiuser wrote:A recent thread had a very nice solution which extends on the basic bit-manipulation macros. IIRC it went something along the lines of: Defines: #ifndef...
Monday, 7 December 2009 - 10:37
[TUT] [SOFT] Using the USART - Serial communications
Hello Can anybody just have a look in my code to find the bug. I try to transmit 8 bytes in the shape of a char[9] from one atmega164p to another using usart. I know the baud...
Wednesday, 6 May 2009 - 14:50