EasyAVR5 and ADC will not work

General discussion on mikroBasic for AVR.
Post Reply
Author
Message
marcb
Posts: 2
Joined: 14 Dec 2008 22:14

EasyAVR5 and ADC will not work

#1 Post by marcb » 14 Dec 2008 22:28

Hello,

I have problems getting data via SPI from the ADC module. In the downloadarea are only examples for the PIC based board but I`m not able to get it work on my AVR board. I`ll be glad if someone can post a code snippet for getting the data from the ADC module in Basic for AVR.

I want to connect the ADC board to the PortC and display the CH0 value on the LCD display.

Thanks a lot

my configuration:
EasyAVR5
MikroBasic
Atmega16

dane.radakovic
mikroElektronika team
Posts: 95
Joined: 04 Dec 2008 14:19

#2 Post by dane.radakovic » 15 Dec 2008 12:52

Hi,

Please download beta version MikroBasic for AVR:
http://www.mikroe.com/zip/mikrobasic_av ... _setup.zip

And try examples provided with this compiler.

Regards

marcb
Posts: 2
Joined: 14 Dec 2008 22:14

#3 Post by marcb » 15 Dec 2008 16:42

Thank you for the quick answer. I alreaddy have installed. But there is also no exampkle for the external ADC board (with the 3204 on it 12bit)
----------------------------
EasyAVR5
MikroBasic

Post Reply

Return to “mikroBasic for AVR General”