In TextLCD_I2C_N Class, added void setContrast(unsigned char c) function as temporary. This is for ST7032i non-volume type contrast control.
Dependents: LPC1114_data_logger RTC_w_COM Frequency_Counter_w_GPS_1PPS CW_Decoder_using_FFT_on_F446 ... more
Fork of TextLCD by
In TextLCD_I2C_N Class, added void setContrast(unsigned char c) function as temporary.
Diff: TextLCD_UDC.h
- Revision:
- 31:f8e67a681560
- Parent:
- 30:4c57a022a56c
diff -r 4c57a022a56c -r f8e67a681560 TextLCD_UDC.h --- a/TextLCD_UDC.h Mon Feb 24 10:47:12 2020 +0000 +++ b/TextLCD_UDC.h Tue Aug 04 03:55:44 2020 +0000 @@ -54,10 +54,8 @@ //// modified by by JH1PJL #if (MBED_MAJOR_VERSION == 2) #define WAIT_MS(x) wait_ms(x) -#define VL53L0X_OsDelay(...) wait_ms(2) -#elif (MBED_MAJOR_VERSION == 5) +#elif (MBED_MAJOR_VERSION == 5) || (MBED_MAJOR_VERSION == 6) #define WAIT_MS(x) ThisThread::sleep_for(x) -#define VL53L0X_OsDelay(...) ThisThread::sleep_for(2) #else #warning "I cannot control wait_ms()!!" #endif