![](/media/cache/group/download_IjbieK2.png.50x50_q85.png)
demo new haven display
Dependencies: LCD Menu ButtonCtrl TimeManagement EventLog AddressMap emic2
ESCM 2000 Control and Display application provides interface for the LPC1768 processor boards with the ECSM 2000 system.
This application implements SW interface : - RX 485 Receive from physical system - RX 485 Interface to send toECOM / ESCM board - CAN Interface to send to ECOM / ESCM board - 4x40 LCD with menu controls - RTC configuration -EMIC2 Sound Card - GPIO Extender to push buttons etc
Diff: ESCMControlApp.cpp
- Revision:
- 8:f15a5358883c
- Parent:
- 7:0244f1a26545
- Child:
- 10:f221dd1ef77b
--- a/ESCMControlApp.cpp Tue Sep 17 14:24:27 2019 +0000 +++ b/ESCMControlApp.cpp Fri Sep 27 13:20:41 2019 +0000 @@ -138,7 +138,7 @@ if(nChar==4) { // read 4 characters if (dataRxBuffer[2] == 0xd && dataRxBuffer[3] == 0xa) { new_address = 10*(dataRxBuffer[0] -0x30) + (dataRxBuffer[1] -0x30); - printf("ADDR = %d ",new_address); + printf("RX: %d\n\n",new_address); update_needed = 1; // receive at least 1 nChar = 0; dataRxCnt++; @@ -156,7 +156,7 @@ if (new_address >= 0 && new_address < 100 ) { cur_address = new_address; - printf("New Addr=%d\n",cur_address); + //printf("New Addr=%d\n",cur_address); postEvent(cur_address,0); counter = 0; new_address = -1;