take a look in the samples dir http , you must find some example wich do this I use http handler with costate witnout any problems send your code if you want...
Just a part of my code with costate and http_handler I have more than 6 tasks and 20 html pages and all work fine Bye // boucle des taches loopinit();...
Hi all, In my project, I used RCM3100 core with DC7.32 and uCOS-II RTOS. Since the RCM3100 core has got watch crystal + cicruitry, I was happy enough to use ...
dAVE-PCS
david@...
Apr 1, 2003 9:40 am
12909
Please, could anybody tell me for what is TIMEZONE macro?. Perhaps for automatically change time when pass from Summer-Winter and viceversa?.. Thanks. Jess....
Using a BL2100 has anyone successfully used the anaIn() function whilst an external interrupt is set up? I do not call anaIn() from the isr - it gets executed...
I ran into a similar problem with _anaIn(); the problem is it uses the following: push ip ipset 1 . . . pop ip What you need to do is add a ipres before the...
Why put your initialization in a costate; why not wait until initialization is complete before allowing any other costates to run? If necessary because...
Thanks, Robert but this doesn't seem to have helped. I actually read your recent discussion and came to the same conclusion this time. The thing is I'm not...
Yes , I have cofunc in my init task ( cof_serBread(...) in fact ) I use the mode : "init_on" for the initialization task for execute it only one time it's a...
... read ... The ... Try this band-aid: anaIn(); asm ipset 0; If it works to set the interrupt priority back to zero, you know you have a problem to track...
I´ve also got this timeout message. Normaly it runs a while after this, if I close the serial port and compile again. I´am using DC733P3 on an 1.6 GHz Athlon...
Did you use a serial to IR converter or the integrated IR interface of a laptop ? I need raw data transmission between PC and Rabbit only. Can I get my on...
Is this what you want to do? int i; i = '1'; // load i with ASCII value of char '1' serBwrite(&i, 1); // write only a single byte, the LSB of i! Or are you...
Guy, it does not work: before: int i = 1; ... after your recomendation: int i = 1; sprintf(MyString, "%d", (int) i); serBwrite(MyString,1); /// prtinf the byte...
If you are just trying to do an ASCII representation of a single integer just add 48 to the value before you send it. Hope I'm not over simplifying your...
This FAQ is on the Z-World bulletin board, and may help: http://www.zworld.com/support/bb/messages/14/3530.html? WednesdayMay2920020221pm Dick ... Since the ...
... This macro is used by the HTTP server so that the correct date formats may be generated. Basically, you just #define TIMEZONE at the top of your main...
Guys, I have a Float value and I wanna send it trought te serial port? I did that: float t; serBwrite(t,sizeof(t)); But I got a lot of trash there. What I can...
If what you want is a "human readable" output (i.e. something line 1.325E6) use char buf[50]; // A place to hold the ASCII representation of fvalue float...
Well, I see quite a bit of info flying around here, so let me throw in my 2 cents , and hope this helps... Syntax: serBwrite( void *data , int length ) so, if...
try this: char myfloat[20]; sprintf(myfloat,"%f",t) serBwrite(myfloat,sizeof(myfloat)); this transform your float in a string with the format that you want bye...
The problem results from the way the float is stored in memory in a coded format and we are desiring ASCII output. So, first we need to convert it to ASCII...
Off the top of my head: "%4.2f" - Should force the output to be four characters total, two behind the decimal point. "%.2f" - Just limits the number of places...
Using "sizeof(myfloat)" is wrong - That will send all 20 bytes out the serial port, even if sprintf only produced a much shorter result such as "1.0". That's...