demonstrate teensy 3.1 ADC internal channels: temperature sensor and VREF output
Fork of Teensy_MBED_BLINKY by
main.cpp
- Committer:
- yoonghm
- Date:
- 2015-07-26
- Revision:
- 1:e452bc59d245
- Parent:
- 0:8495741fab9c
- Child:
- 2:5b51fe85e931
File content as of revision 1:e452bc59d245:
// MBED_BLINKY with Teensy 3.1 // You need to update the latest USBDevice library #include "mbed.h" #include "USBSerial.h" DigitalOut myled(LED1); // Onboard LED USBSerial pc; // Virtual serial port over USB int main() { while(1) { pc.printf("Hello World\r\n"); myled = 1; wait(0.2); myled = 0; wait(0.2); } }