Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 10 months ago.
documentation for nucleoF103b
i've been reading the nucleo example programs. there's lots of stuff that isn't part of ansi C. where can i find the docs for the commands and hex addresses specific to the nucleo?
1 Answer
11 years, 10 months ago.
Hello,
read Handbook (reference for mbed API), https://mbed.org/handbook/AnalogIn - link to Analog input, which displays AnalogIn API.
That macro is an equation to get mV, I haven't checked the resolution, but believe the range is 4095, and voltage reference is 3.3v. :
// Calculate the corresponding acquisition measure for a given value in mV #define MV(x) ((0xFFF*x)/3300)
Regards, 0xc0170
Can you give us examples what isn't part of ANSI C? commands ?
Open User manual/reference manual for the chip where you can find description of the chip (memory, peripherals...).
posted by Martin Kojtal 14 May 2014the beginning of line 12 uint16_t. in the define statment the hex address 0xfff*x. it's been a while since i had to do any c programming but i don't recognize either of these.
posted by emmett ammons 14 May 2014