Post Created date
endian issue
Cliff put 0x1234 in a 16 bit variable. He then output the 'first' byte of that variable using a pointer to it and printf. What came out was 0x34, i.e. the lowest byte value.
Monday, 16 July 2007 - 10:50
Can landline modem be used to send SMS to cell phone?
Kartman wrote:Basically, you need code to: dial the modem and manage the connection. encode PPP or SLIP to talk to the internet service provider tcp/ip stack to talk internet...
Thursday, 5 July 2007 - 07:53
firmware wrote:clawson wrote: 1) find the library source for the printf() used by you compiler, edit in some OSyields() at strategic points then recompile the C runtime library...
Tuesday, 3 July 2007 - 10:09
Cooperative RTOS?
Matt As Glitch points out - irrespective of what approach you take, if the programmer screws up, then the programme is screwed! However, beware of missleading statements like......
Sunday, 1 July 2007 - 21:27
Cooperative RTOS?
MattBucknall wrote:Thanks for your input Cavlar. No offense intended by questioning your view by the way, I am just interested in seeing different peoples' take on the subject....
Sunday, 1 July 2007 - 20:39
Cooperative RTOS?
"Deterministic: Having the ability to determine exactly what is or will be executing on the processor at any time during system execution. Determinism is a consequence of the...
Sunday, 1 July 2007 - 20:01
Cooperative RTOS?
Interesting discussion but, as an engineer rather than a computer scientist my motto is 'horses for courses' so I use both as appropraite. Cooperative isn't the sexiest but it its...
Saturday, 30 June 2007 - 23:19
simple scheduler
There are two classes of scheduler: 1. cooperative. each 'task' runs to completion when it relinquishes the cpu. the scheduler then initiates the next task on the basis of some...
Wednesday, 20 June 2007 - 07:50
A Newbie's AVR Programming Problems
you can use the internal clock of the avr. However, it is not reliably accurate and can be the source of much frustration if you are trying to use time dependent peripherals (e.g...
Saturday, 16 June 2007 - 06:20
benedict wrote: Got any recommendations for how I can learn C++? Keep in mind I'm entrenched in C and haven't really done any object oriented programming, so it'll have to be...
Friday, 8 June 2007 - 21:59
Serial packet interface
Your second idea is the one to go withkeep ISRs small. As to locks and semaphores... the AVR has NO onboard functions that provide these features, you have to provide it yourself...
Friday, 8 June 2007 - 19:42
Hold a LED on for X seconds
MarcBrule wrote:clawson wrote:MarcBrule wrote:_delay_ms(250); So you run your AVR at 1MHz do you?I'm giving my noobiness away now. How do you know I would run at 1MHz by the...
Thursday, 24 May 2007 - 21:05