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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
In the following example code where would I expect to see the output of the printf statement? Do I have to include and lcd display? Sorry if this looks simple.
#include "mbed.h" #include "SRF08.h" SRF08 srf08(p9, p10, 0xE0); // Define SDA, SCL pin and I2C address int main() { while (1) { printf("Measured range : %.2f cm\n",srf08.read()); wait(0.1); } }