Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Led SDFileSystem mbed
main.cpp
- Committer:
- MAlmazan
- Date:
- 2017-06-10
- Revision:
- 0:7373f4ac36fb
- Child:
- 2:f3ceb5d7b70c
File content as of revision 0:7373f4ac36fb:
#include "mbed.h"
#include "SDFileSystem.h"
#include "Led.h"
DigitalIn sw2(SW2);
DigitalIn sw3(SW3);
//TODO
//Funcion para manejar el boton 3 (ciclo de colores)
//Funcion principal que haga un ciclo para ve el estado del boton y escribe en la SD
bool LED = false;
void Boton2() {
if (sw2 == 0) {
if (LED) {
LEDEstado(false);
} else {
LEDEstado(true);
}
wait(0.2f);
}
}
void Boton3() {
if (sw3 == 0) {
}
}
int main() {
}