Hi ,
Yes ATMega8 and ATMega32 are supported . You can see what chips ATMEL are supported in GCBASIC/Chipdata/
You can use all keywords and functions are used in GCBasic like for PICs Microchip .
i.e: you can open mega8.dat or m8.dat and you'll see all you can use .
regards
GC
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Timers, ADC and RS232 (both software and UART code) should all work. Timers and ADC worked on a mega168 a year or so ago, and RS232 worked last night when I was using it with my Arduino. There aren't a lot of examples for AVR, but GCBASIC is meant to be the same for PIC and AVR. Most of the PIC examples will work perfectly on an AVR if you change the chip model and possibly the pins used.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here i could not find any mega8 oder mega32 in GCBASIC/Chipdata/ ???
Another problem is to open gcbasic-it.chm in Linux with kchmviewer.
Here i only get black pages!
I must select all the text to invert it.
All the text is written in italy!
Is Cowbasic not intended to be used in Linux? ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I could also solve the CHM viewing problem.
In the settings of kchmviewer i changed from "Qtext Browser based widget" to "KHTML part based widget".
Now everything is formatted correct.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
O.K. so far - it works and i am enthusiastic.
There where only some problems to get fbc running native in Linux.
But it works also perfect running the windows version in wine.
The main question for me is now: Has Cowbasic support for long integer and floating point variables and calculations?
If not - is there a good workaround?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know how to start, because there are no examples for Atmel?
(I believe missing examples are the main problem for most of the people)
What chips are supported?
(I want to use ATMega8 and ATMega32)
Will this parts be supported and how can i do this?
* Timer 0, 1, 2
* AD-Converter
* Serial interface (RS232)
Hi ,
Yes ATMega8 and ATMega32 are supported . You can see what chips ATMEL are supported in GCBASIC/Chipdata/
You can use all keywords and functions are used in GCBasic like for PICs Microchip .
i.e: you can open mega8.dat or m8.dat and you'll see all you can use .
regards
GC
Timers, ADC and RS232 (both software and UART code) should all work. Timers and ADC worked on a mega168 a year or so ago, and RS232 worked last night when I was using it with my Arduino. There aren't a lot of examples for AVR, but GCBASIC is meant to be the same for PIC and AVR. Most of the PIC examples will work perfectly on an AVR if you change the chip model and possibly the pins used.
Hi gcha44,
i work in Linux and so downloaded the standard Zip-File offered in sourceforge.
http://dfn.dl.sourceforge.net/project/gcbasic/gcbasic/Great%20Cow%20BASIC%20v.0.9.3.0/GCBASIC_zip_0930.zip
Here i could not find any mega8 oder mega32 in GCBASIC/Chipdata/ ???
Another problem is to open gcbasic-it.chm in Linux with kchmviewer.
Here i only get black pages!
I must select all the text to invert it.
All the text is written in italy!
Is Cowbasic not intended to be used in Linux? ;-)
Ooops - of course there is a gcbasic.chm also.
But the problem with the black pages remains.
Is it possible to generate a "normal" CHM?
I could also solve the CHM viewing problem.
In the settings of kchmviewer i changed from "Qtext Browser based widget" to "KHTML part based widget".
Now everything is formatted correct.
I forgot to install the updates - sorry.
Now the definitions of the Atmel µC are available.
Maybe it is better to create a new version for the installation? :-)
I will try to test Cowbasic now with Atmel.
When it works i will publish examples.
But this will take some time …
O.K. so far - it works and i am enthusiastic.
There where only some problems to get fbc running native in Linux.
But it works also perfect running the windows version in wine.
Here my Tutorial to start:
https://sourceforge.net/projects/gcbasic/forums/forum/629990/topic/5333321
The main question for me is now: Has Cowbasic support for long integer and floating point variables and calculations?
If not - is there a good workaround?