Post Created date
Does anyone know on how to initialize ADC on ATMEGA128 ?
js wrote:Quote://digital input disable portc 543210Since when does the ATMEGA128 have ADC's on portc? :wink: This is waht I have on a current M128 project // //ADC definitions #...
Friday, 24 May 2013 - 05:29
Does anyone know on how to initialize ADC on ATMEGA128 ?
bobgardner wrote:Ooops. I cut n pasted from a mega328 project. Sorry. hehehe, that's allright, everyone has mistake .... thanks anyway....
Friday, 24 May 2013 - 05:28
How to port arduino library ?
Kartman wrote:What do you want to achieve? Run Arduino on the m128? Or use the libraries in your own code? There's been lots written about this. Do a search. Yes, I wanna use...
Friday, 24 May 2013 - 05:27
Does anyone know on how to initialize ADC on ATMEGA128 ?
bobgardner wrote: //-------------------- void adc_init(void){ //ADC initialize ADCSRA = 0x00; //disable adc ADMUX = 0x40; //select vcc and adc input 0 ACSR = 0x80;...
Friday, 24 May 2013 - 03:31
Why can't I use the delay on AVR studio 6 ?
as you guys see on the video it's more than 1000ms...? //next screen lcd_cmd(0x80);//put the cursor into the first row _delay_ms (10); lcd_cmd(0x01);//Clear display...
Friday, 24 May 2013 - 02:30
Why can't I use the delay on AVR studio 6 ?
You guys can see on the video, now the delay is more than 1 second, crystal = 8 Mhz, I plug it out to test and when I plug it out it's stop running... so I'm sure it's 8Mhz the...
Friday, 24 May 2013 - 02:26
Why can't I use the delay on AVR studio 6 ?
ok to make it clear I rebuild from this code now... The code : /* * LCDv1.c * * Created: 22/05/2013 10:52:57 AM * Author: Antonius */ #define F_CPU 80000000UL // AVR...
Friday, 24 May 2013 - 02:09
Receive byte on ATMEGA128 ?
Visovian wrote:Look at my example in https://www.avrfreaks.net/index.p... Thank you my friend, I'll see it..
Friday, 24 May 2013 - 01:58
Receive byte on ATMEGA128 ?
I can display 1 character with this code, any ideas on displaying one word ( string ) ? thanks do { c_byte = usart_receive(); lcd_data(c_byte);...
Thursday, 23 May 2013 - 06:11
Receive byte on ATMEGA128 ?
I can see the echo, but how can I display character received in my LCD ? do { c_byte = usart_receive(); usart_transmit(c_byte); } while (...
Thursday, 23 May 2013 - 05:50
Receive byte on ATMEGA128 ?
Kartman wrote:I don't think your code will compile. The register names don't look right for a mega128 as there is usually a 0 or 1 in the name to determine which usart since there...
Thursday, 23 May 2013 - 05:42
Why can't I use the delay on AVR studio 6 ?
joeymorin wrote:bianchi77 wrote:it's very fast, I don't know exactly but it's not 1000ms....that's it...You'll have to do better than that. Is it 500 mS? 100 mS? Without a more...
Thursday, 23 May 2013 - 04:40

Pages