PIC to Mbed errors

Dependencies:   mbed

Committer:
dan_cuspi
Date:
Fri Sep 01 16:11:35 2017 +0000
Revision:
0:b329a09583fb
Ubidots PIC to MBED

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dan_cuspi 0:b329a09583fb 1 #include "mbed.h"
dan_cuspi 0:b329a09583fb 2 #include "ubidots.h"
dan_cuspi 0:b329a09583fb 3
dan_cuspi 0:b329a09583fb 4 DigitalOut myled(LED1);
dan_cuspi 0:b329a09583fb 5 Serial pc (USBTX, USBRX);
dan_cuspi 0:b329a09583fb 6 int main()
dan_cuspi 0:b329a09583fb 7 {
dan_cuspi 0:b329a09583fb 8 pc.printf("%s", ubidotsGET(TOKEN, VARIABLE_ID));
dan_cuspi 0:b329a09583fb 9 }