BASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Although you mention multi-tasking, the examples given can still be executed sequentially. Set up your serial port (USART) to use interrupt driven, circular buffered data input. There are examples of...
View ArticleBASCOM-AVR : Nothing But Ping With WIZ820IO : REPLY
Hi, in my case a reset time of 350ms is needed to get a stable first answer from NTP Server: [code:1:e197befce3]Config Pinb.2 = Output W5200_nreset Alias Portb.2 Reset W5200_nreset Waitms 1 Set...
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Well, you can of course choose to run a real time operating system kernel (RTOS) on your micro, but that is probably not what most people her needs. The second best solution is , as I see it, to run...
View ArticleShare your working BASCOM-AVR code here : A simple WAV file player from an SD...
Hi glena I would try your player since ISD25xx are expensive. Could you post the schematic? Thanks in advice
View ArticleBASCOM-AVR : ISD25xx Record / Playback Chip : REPLY
Hi, I used them too, ten yrs ago. AFAIK they are off production since years. I found then difficult to record, as it's done the analog way. I recommend not to use them anymore. But if you really like...
View ArticleEASY TCP/IP : Easy TCP/IP I2C adapter together with other I2C slaves : REPLY
With this idea (disabling/enabling the interrupt of TCP) worked fine Thank you
View ArticleEASY TCP/IP : LCD 20*4, C2004A, on i2C : NEWTOPIC
Dear all I just bought the LCD: http://www.ebay.com/itm/180939111604?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649 which has the LCD C2004A with PIN ASSIGNMENT / PIN SYMBOL FUNCTION 1 Vss...
View ArticleBASCOM-AVR : Broken LCD screen : REPLY
Hi, admin, could you rename topic to Garden automat ? I have a problem with compare actual time - start time + runtime. I have no idea. Example: Actual time - 20:30 Start time of valve 20:40 Runtime -...
View ArticleBASCOM-AVR : Serial Port Communication with Visual Studio 2010 : NEWTOPIC
Hello everyone, i'm working on a work project and i can't figure out how to implement the serial communication part properly. My project is very simple but for some reason i can't seem to get my brain...
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Hi Per, your suggestion sounds very interesting, i would love to give it a try, but i must confess it does sound very complicated, would you mind writing an example about this? Thanks, Walter
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Yes I could do that, but not this or next week as I'm out travelling. It could also be interesting to see if there are more interest... Remind me after 10 days or so. /Per
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Simple RTOS in Bascom; http://www.mcselec.com/index.php?option=com_content&task=view&id=70&Itemid=57
View ArticleBASCOM-AVR : Garden automat : REPLY
Have a look at my Webserver code in the blog section in it you will see how I have a variable that is incremented every second this variable is the time/day/month/year so as it is a number all I have...
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Per I think this would be good in the Wiki when you get time, a place where people can see how and what can be done with bascom without having to search over many posts will be great! Regards Paul
View ArticleShare your working BASCOM-AVR code here : A simple WAV file player from an SD...
Glen great project :D Why not put it in the new Wiki this would be a great project for a school to build as it needs few parts and they are cheap and avaliable pre-buit. Regards Paul
View ArticleBASCOM-AVR : Garden automat : REPLY
Hi Bibibo, I have done this type of thing before. Here's how I set it up Do you main program as you have with it's menus, setup, Time Entry etc. Set the interrupt to do a timing of you choice, but...
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
The closest you can come to multi tasking in a single AVR system is an XMega with Event System. Be aware that everything else is not able to do tasks in the microsecond response time range, be it...
View ArticleBASCOM-AVR : Garden automat : REPLY
Here is my code for a clock using the CPU clock if its a crystal then it keeps good time if internal RC then only fair but if you have an RTC you can update from that. Also what RTC are you using....
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
Agreed, but most 'multi-tasking' is in reality things like timing events, updating a display, reading switches or keypads, accepting and parsing serial messages, and generating other messages. These...
View ArticleBASCOM-AVR : Writing code to run multiple tasks at same time : REPLY
I agree Hubert, and it would be wonderful if someone took his time (and skill) to write a true RTOS kernel for the Xmega. There are of course numerous examples of this need. Motor controllers, Alarm...
View Article