Posted on January 19, 2014 at 18:16
As others have stated, it's likely your stdio library does not include support for %f format. The easiest way to get around this is something like this:
int intpart, fracpart;
intpart = (int)moisture;
fr...
Posted on January 19, 2014 at 18:05Bompart.Romy, please keep us updated on your progress. I am wanting to do exactly the same thing - one of the USB ports as host for keyboard or mouse and the other USB port for CDC device to talk to a PC.
Posted on June 23, 2013 at 21:36Regardless of why it was written the way it was, it certainly looks like a bug to me. It should be: for(index = CBW_CB_LENGTH-1; index !=0; index--)As originally written it will overwrite the next byte in memory whic...
Posted on June 20, 2013 at 05:28So, the STM40G-EVAL schematic shows no pullups or pulldowns on the JTAG and SW lines. Are you saying that is the correct configuration and that adding pu/pd per the Discovery schematic is wrong?