![](/media/cache/profiles/f0fcf351df4eb6786e9bb6fc4e2dee02.jpg.50x50_q85.jpg)
SD-Card Control Program / Using Micro-SD / based on SDCardTest Program (http://mbed.org/users/simon/programs/SDCardTest/gpdz4x/)
Dependencies: mbed SDFileSystem
Please refer following my Notebook page.
/users/kenjiArai/notebook/sd-card-control-new/#
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2020-05-02
- Revision:
- 7:4467fbfa888b
- Parent:
- 4:fc36c8ec2966
File content as of revision 7:4467fbfa888b:
/* * Check Mbed revision * * Copyright (c) 2019,'20 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: July 17th, 2019 * Revised: May 2nd, 2020 */ #include "mbed.h" // RUN ONLY ON mbed-os-5.15.3 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-5.15.3 #if (MBED_MAJOR_VERSION == 5) &&\ (MBED_MINOR_VERSION == 15) &&\ (MBED_PATCH_VERSION == 3) #elif (MBED_MAJOR_VERSION == 2) &&\ (MBED_MINOR_VERSION == 0) &&\ (MBED_PATCH_VERSION == 165) #else //#warning "Please use mbed-os-5.15.3 or mbed 2.0.165" #error "Please use mbed-os-5.15.3 or mbed 2.0.165" #endif void print_revision(void) { printf("MBED_MAJOR_VERSION = %d, ", MBED_MAJOR_VERSION); printf("MINOR = %d, ", MBED_MINOR_VERSION); printf("PATCH = %d\r\n", MBED_PATCH_VERSION); }