Tset program for SoftSerial library. Only for F446RE & L432KC.

Dependencies:   BufferedSoftSerial

select_example.h

Committer:
kenjiArai
Date:
2020-05-12
Revision:
1:14d1cec89444
Parent:
0:98865e300cd5

File content as of revision 1:14d1cec89444:

/*
 * 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