Monochrome display sample with MIP8F_SPI(ver 2.0).
Fork of MIP8f_FRDM_MonochromeDisplay_sample by
Introduction
This Sample code is monochrome display version . Monocrome display is 1bit transfer and high speed refresh mode. A only Green subpixel of bitmap data is transfered.
Other information , please refer to https://os.mbed.com/teams/JapanDisplayInc/code/MIP8f_FRDM_sample/
Usage
refer to Usage on https://os.mbed.com/teams/JapanDisplayInc/code/MIP8f_FRDM_sample/
- you can use same sample color images
Monochrome diaplay Sample Code (.bin)
/media/uploads/JDI_Mbed_Team/mip8f_frdm_monochromedisplay_sample.k64f.bin
- MIP8f_FRDM_MonochromeDisplay_sample
Diff: TglSW/TglSW.h
- Revision:
- 0:33fe30a2b785
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TglSW/TglSW.h Tue Sep 04 06:44:01 2018 +0000 @@ -0,0 +1,28 @@ +/* mbed TglSW Library without using PWM pins + + + */ +#include "mbed.h" + +class TglSW { + +public: + TglSW (PinName SWPin); + + void Enable(int NoiseCancel); + bool State(void); + void Clear(void); + +protected: + bool _IfPless; + void _SeekPress(void); + + DigitalIn _SW; + int _REPEAT; + bool _preSW; + int _PressCount; + Ticker _PlessCounter; + +}; + +