vasko ozo
/
F031K6_TxRxService
Test1
Diff: main.cpp
- Revision:
- 7:7aaa14391264
- Parent:
- 6:1364a236ee22
- Child:
- 8:cad966c09853
--- a/main.cpp Sat Aug 03 13:44:32 2019 +0000 +++ b/main.cpp Sat Aug 03 14:02:58 2019 +0000 @@ -1,14 +1,11 @@ -#include "mbed.h" - -#define ArrTxSize 16 -#define ArrRxSize 16 +#include "PrjDefs.h" Serial pc(USBTX,USBRX); DigitalOut myled(LED1); -uint8_t ArrTx[ArrTxSize] = {0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4b,0x4c,0x4d,0x4e,0x4f}; -uint8_t ArrRx[ArrRxSize] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; +uint8_t ArrTx[ArrTxSize] = ArrTxInitializer; +uint8_t ArrRx[ArrRxSize] = ArrRxInitializer; uint8_t *pArrTx = &ArrTx[0]; uint8_t *pArrRx = &ArrRx[0];