Test program for SoftSerial. TimerEvent function has bug for STM32 series Mbed. FRDM-64K works well without bug. This is a temporary solution avoid bug but not perfect.
Dependencies: BufferedSoftSerial
select_example.h
- Committer:
- kenjiArai
- Date:
- 2020-05-10
- Revision:
- 0:98865e300cd5
File content as of revision 0:98865e300cd5:
/* * Mbed Application program * SoftSerial(also BufferedSoftSerial) function test programs * * Copyright (c) 2020 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: May 9th, 2020 * Revised: May 10th, 2020 */ #define EXAMPLE_NUMBER 0 // select 0 to 3 //----------------- You don't need any modification ---------------------------- #if EXAMPLE_NUMBER == 0 # define EXAMPLE_0 #elif EXAMPLE_NUMBER == 1 # define EXAMPLE_1 #elif EXAMPLE_NUMBER == 2 # define EXAMPLE_2 #elif EXAMPLE_NUMBER == 3 # define EXAMPLE_3 #else # error " Please set 0 to 3 number for EXAMPLE_NUMBER!!" #endif