Kenji Arai
/
LPC1114_SPI_LCD_ST7565family_test
Controller chip is ST7565
SPI LCD: AQM1248A (Akizuki) or AD-12864-SPI (antendo)
check_revision.cpp
- Committer:
- kenjiArai
- Date:
- 2021-02-27
- Revision:
- 5:9b4d9c139186
- Parent:
- 3:031024851a8d
File content as of revision 5:9b4d9c139186:
/* * Check Mbed revision * * Copyright (c) 2019,'20,'21 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: July 17th, 2019 * Revised: February 27th, 2021 */ #include "mbed.h" // RUN ONLY ON mbed-os-6.8.0 // https://github.com/ARMmbed/mbed-os/releases/tag/mbed-os-6.8.0 #if (MBED_MAJOR_VERSION == 6) &&\ (MBED_MINOR_VERSION == 8) &&\ (MBED_PATCH_VERSION == 0) #else # error "Please use mbed-os-6.8.0" #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); }