Tigaresi / Mbed 2 deprecated FRDM_TCP_v4_copy

Dependencies:   Audio EthernetInterface mbed-rtos mbed

Fork of TCPEchoClient by mbed official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers const_defines.h Source File

const_defines.h

00001 #ifndef CONST_DEFINES_H
00002 #define CONST_DEFINES_H
00003 
00004 // rows of lockers
00005 #define rowA    0x01
00006 #define rowB    0x02
00007 #define rowC    0x04
00008 #define rowD    0x08
00009 #define rowF    0x20
00010 #define rowG    0x40
00011 #define rowH    0x80
00012 
00013 // status
00014 #define idle    0x30
00015 #define expect  0x31
00016 #define release 0x32
00017 
00018 // max colum of lockers
00019 #define MAX_COL 0x08
00020 #define MAX_ROW 0x08
00021 
00022 #if 1 // colored terminal output using ANSI escape sequences
00023   #define COL(c) "\033[" c
00024  #else
00025   #define COL(c) 
00026  #endif
00027 #define DEF COL("39m")
00028 #define BLA COL("30m")
00029 #define RED COL("31m")
00030 #define GRE COL("32m")
00031 #define YEL COL("33m")
00032 #define BLU COL("34m")
00033 #define MAG COL("35m")
00034 #define CYA COL("36m")
00035 #define WHY COL("37m")
00036 
00037 #endif // CONST_DEFINES_H