masaaki makabe / Mbed 2 deprecated BLE_API

Dependencies:   BLE_API nRF51822 mbed

Fork of KS7 by masaaki makabe

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers common.h Source File

common.h

00001 #ifndef __COMMON_H__
00002 #define __COMMON_H__
00003 
00004 #include "mbed.h"
00005 
00006 #define PCB_VER4 // with HX711
00007 //#define DISPLAY_DEMO // display random number for demo & LED check
00008 //#define UART_DEBUG /*UARTデバッグ有効*/
00009 
00010 
00011 typedef enum { // M_WATCHTIMER時の詳細
00012     S_WATCH = 0,
00013     S_TIMER,
00014 } State_t;
00015 typedef enum {
00016     M_SCALE = 0,
00017     M_WATCHTIMER,
00018 } Mode_t; 
00019 
00020 extern State_t _state;
00021 extern Mode_t _mode;
00022 #ifdef UART_DEBUG
00023 extern Serial pc;
00024 #endif
00025 
00026 
00027 #endif /*__COMMON_H__*/