--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote: Dear Chuck, Glad to hear from you, and thanks for your in depth reply to my questions. Your instructive explanations encouraged me to go more through this and take advantage of your experience. I wonder if it is good idea to create another topic, but I go on with this topic for now: > Once you know C there isn't anything you can't do on the AVR except > some very specialized things (like task switching in an RTOS). Even those you can do with WinAVR by dropping into assembler when you want to explore more. > This is what I did in the beginning. Because my work is getting a > little more involved (RTOS's, Ethernet, etc.) U talked of RTOS. Never heared of it before, but my MCU needed to control RH, light level and temperature real time and show them on LCD, so I thought and then I made for myself a sort of virtual multi- tasking procedure, for example: Do Gosub v Gosub w Gosub x Gosub y Gosub z Loop End Since the whole loop takes about 0.1-0.2 second, it seems multitasking to the user. It works rather fine now even with my large code. But is it all we can do to make a multitasking procedure? > > 3- > > Is the C language exactly the same for WinAvr and CodeVision? Are C > > and C ANSI Identical? (sorry if specially the last question seems > very > > basic) > > Unfortunately there are some differences between the available C > compilers for the AVR (WinAVR, CodeVision, ImageCraft, etc.) > particularly in the area of bit fields, registers, interrupts, etc. So what else remains? lol. If I find a snipplet I have to become Poirot to find the clues and know which version it is written for?! > and they all have their own libraries with varying amounts > of 'extras' so programs are slightly different from compiler to > compiler. Slightly. I hope so. :) Thanks again and waiting... Behrooz
Message
Re: WinAvr or CodeVision, which one is more public?
2008-01-22 by Behrooz
Attachments
- No local attachments were found for this message.