スマホのアプリで温度を表示するプログラム

Dependencies:   BLE_API mbed nRF51822

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config.h Source File

config.h

00001 #define LED_ON 1
00002 #define LED_OFF 0
00003 
00004 #if NEED_CONSOLE_OUTPUT
00005 Serial  pc(USBTX, USBRX);
00006 #define DEBUG(...) { pc.printf(__VA_ARGS__); }
00007 #else
00008 #define DEBUG(...) /* nothing */
00009 #endif /* #if NEED_CONSOLE_OUTPUT */