Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of workinQM_5thJan_azad by
Diff: main.cpp
- Revision:
- 45:b5bd48ffbb67
- Parent:
- 39:670133e7ffd8
- Child:
- 46:e1fedbe3bc65
--- a/main.cpp Tue Jul 05 13:44:15 2016 +0000 +++ b/main.cpp Wed Jul 06 09:18:03 2016 +0000 @@ -224,7 +224,7 @@ //uint16_t BCN_TX_MAIN_COUNTER = 0; uint8_t BCN_LONG_MSG_TYPE = 1; -DigitalInOut BCN_TX_OC_FAULT(PIN80); +DigitalIn BCN_TX_OC_FAULT(PIN80); int BCN_TX_FAULT_COUNTER; //ACS @@ -336,14 +336,14 @@ DigitalInOut DRV_Z_EN(PIN88); //Sleep pin of driver z DigitalInOut TRZ_SW(PIN40); //TR Z Switch DigitalOut CDMS_RESET(PIN7,1); // CDMS RESET -DigitalInOut BCN_SW(PIN14); //Beacon switch +DigitalOut BCN_SW(PIN14,0); //Beacon switch DigitalInOut DRV_XY_EN(PIN82); //================================================================================ -//default flash array some filler bits added (detail in MMS file) -uint32_t ARR_INITIAL_VAL[8]={0x73582600,0x505A4141,0x1A1A1400,0x00000000,0x00000000,0x00000000,0xCBA20000,0x00000000};//to be done +//default flash array some filler bits added (detail in MMS file) 0x73582600 +uint32_t ARR_INITIAL_VAL[8]={0x73582E00,0x505A4141,0x1A1A1400,0x00000000,0x00000000,0x00000000,0xCBA20000,0x00000000};//to be done void FLASH_INI() {