Post Created date
Is it the right way calling interrupt for timer0 ATMEGA128?
I fixed it, I forgot to put while(1) { } Thanks for reading folks
Friday, 31 May 2013 - 05:36
Is it the right way calling interrupt for timer0 ATMEGA128?
am I setting it properly for 10ms ? / Initial ATMega128 Timer/Counter0 Peripheral TCCR0=0x00; // Normal Timer0 Operation //TCCR0=(1<<CS02)|(1<<...
Friday, 31 May 2013 - 04:01
What should I do to fix this issue ?
clawson wrote:If you are using some kind of "library" code then if its a precompiled binary (.a file) you need to add that libwhatever.a to the list of link objects. Or if it's a...
Thursday, 30 May 2013 - 13:07
What should I do to fix this issue ?
david.prentice wrote:Just add const. const PROGMEM char twiWriteErrorFmt[ ] = "twiWrite returned error (d).\n"; Ah-ha. You are an Aussie ! David. I changed to : const...
Thursday, 30 May 2013 - 11:41
Receive byte on ATMEGA128 ?
Ok, I got it...fixed, thank you
Thursday, 30 May 2013 - 03:02
Receive byte on ATMEGA128 ?
No I didn't push the button and it's 1 stop bit
Thursday, 30 May 2013 - 03:01
Receive byte on ATMEGA128 ?
Visovian wrote:You have pressed "Add CR/LF" button !!! No wonder then. How can you know ?? I didn't realize it ?? I didn't press any buttons on the board ...
Wednesday, 29 May 2013 - 23:27
Receive byte on ATMEGA128 ?
bobgardner wrote:I don't think two stop bits is a show stopper. It just gives one extra bit of space between chars. But there is one item that might foster better communication...
Wednesday, 29 May 2013 - 23:15
Receive byte on ATMEGA128 ?
Visovian wrote:And in your code you have set 2 stop bits. Did you set 2 stop bits in the terminal? Can you tell me in which line I do that ? What can I do to fix ?
Wednesday, 29 May 2013 - 23:14
Receive byte on ATMEGA128 ?
I still got it init : // Define baud rate #define USART_BAUDRATE 9600 #define BAUD_PRESCALE (((F_CPU / (USART_BAUDRATE * 16UL))) - 1) void usart_init( unsigned int ubrr...
Wednesday, 29 May 2013 - 12:16
How can I interface hall effect sensor with ATMEGA128 ?
dbrion0606 wrote:From the tutorial you linked, the magnetic sensor is used a a non-bouncing switch: its states are tested, not a pulse duration. statePin=digitalRead(hallPin);...
Wednesday, 29 May 2013 - 11:57
Is timer 0 from ATtiny2313 compatible with ATMEGA128 ?
dbrion0606 wrote:What is the maximum size of a 16 bits unsigned integer? Got it, and thank you, 1 second delay : int main (void) { DDRC |= (1 << 0); // Set LED as output...
Wednesday, 29 May 2013 - 11:12

Pages