valeria toffoli
/
COG4050_analogSensor
fft+analohADXL100x
Fork of COG4050_blink by
main.cpp
- Committer:
- vtoffoli
- Date:
- 2018-08-06
- Revision:
- 1:f56db8105a6a
- Parent:
- 0:74a0756399ff
- Child:
- 2:dbe2cc9e3b23
File content as of revision 1:f56db8105a6a:
#include "mbed.h" DigitalOut led1(LED1); DigitalOut led2(LED2); int main() { while (true) { double i; led2 = !led2; for(i=0.05; i<0.5; i=i+0.05){ led1 = !led1; wait(i);} } }