asdasdasdasd

Dependencies:   Audio EthernetInterface mbed-rtos mbed

Fork of FRDM_TCP_v4_copy by Tigaresi

Committer:
irsanjul
Date:
Fri Aug 10 09:12:27 2018 +0000
Revision:
11:9280da8e40bd
asdasdas

Who changed what in which revision?

UserRevisionLine numberNew contents of line
irsanjul 11:9280da8e40bd 1 #ifndef CONST_DEFINES_H
irsanjul 11:9280da8e40bd 2 #define CONST_DEFINES_H
irsanjul 11:9280da8e40bd 3
irsanjul 11:9280da8e40bd 4 // rows of lockers
irsanjul 11:9280da8e40bd 5 #define rowA 0x01
irsanjul 11:9280da8e40bd 6 #define rowB 0x02
irsanjul 11:9280da8e40bd 7 #define rowC 0x04
irsanjul 11:9280da8e40bd 8 #define rowD 0x08
irsanjul 11:9280da8e40bd 9 #define rowF 0x20
irsanjul 11:9280da8e40bd 10 #define rowG 0x40
irsanjul 11:9280da8e40bd 11 #define rowH 0x80
irsanjul 11:9280da8e40bd 12
irsanjul 11:9280da8e40bd 13 // status
irsanjul 11:9280da8e40bd 14 #define idle 0x30
irsanjul 11:9280da8e40bd 15 #define expect 0x31
irsanjul 11:9280da8e40bd 16 #define release 0x32
irsanjul 11:9280da8e40bd 17
irsanjul 11:9280da8e40bd 18 // max colum of lockers
irsanjul 11:9280da8e40bd 19 #define MAX_COL 0x08
irsanjul 11:9280da8e40bd 20 #define MAX_ROW 0x08
irsanjul 11:9280da8e40bd 21
irsanjul 11:9280da8e40bd 22 #if 1 // colored terminal output using ANSI escape sequences
irsanjul 11:9280da8e40bd 23 #define COL(c) "\033[" c
irsanjul 11:9280da8e40bd 24 #else
irsanjul 11:9280da8e40bd 25 #define COL(c)
irsanjul 11:9280da8e40bd 26 #endif
irsanjul 11:9280da8e40bd 27 #define DEF COL("39m")
irsanjul 11:9280da8e40bd 28 #define BLA COL("30m")
irsanjul 11:9280da8e40bd 29 #define RED COL("31m")
irsanjul 11:9280da8e40bd 30 #define GRE COL("32m")
irsanjul 11:9280da8e40bd 31 #define YEL COL("33m")
irsanjul 11:9280da8e40bd 32 #define BLU COL("34m")
irsanjul 11:9280da8e40bd 33 #define MAG COL("35m")
irsanjul 11:9280da8e40bd 34 #define CYA COL("36m")
irsanjul 11:9280da8e40bd 35 #define WHY COL("37m")
irsanjul 11:9280da8e40bd 36
irsanjul 11:9280da8e40bd 37 #endif // CONST_DEFINES_H