![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Cubesat V1.0 2016 Código para mbed que envía y recibe datos
Dependencies: Adafruit_GFX Adafruit_RTCLib MPL3115A2 SHTx mbed
Diff: main.cpp
- Revision:
- 1:92c8991a4213
- Parent:
- 0:fcfcf58e17ac
diff -r fcfcf58e17ac -r 92c8991a4213 main.cpp --- a/main.cpp Fri May 27 19:27:39 2016 +0000 +++ b/main.cpp Mon Jun 06 22:42:38 2016 +0000 @@ -6,7 +6,6 @@ //Puertos serial Serial pc(USBTX,USBRX); -//Serial mx(p13,p14); Serial mm(p13,p14); //Sensores @@ -24,7 +23,7 @@ //sensors.setOffsetAltitude(83); sensor.setOTPReload(false); sensor.setResolution(true); - //mx.baud(115200); + mm.baud(9600); while(1) { sensor.update(); //Humedad sht //sensors.readAltitude(&a);