
X2D decoder
main.cpp
- Committer:
- sev2000
- Date:
- 2019-11-10
- Revision:
- 4:fcfcce37657c
- Child:
- 5:df53c6d9caeb
File content as of revision 4:fcfcce37657c:
#include "mbed.h" #include "X2D.h" extern long startedAt; extern Timer xTime; Serial pc(SERIAL_TX, SERIAL_RX); int main() { pc.baud(115200); pc.printf("Start\r\n"); Init_X2D(); while (1) { if (xTime.read_us()- startedAt > 32000) { detectPreamble(); } wait_ms(500); } }