This is a library for the JY-LKM1638 Display
main.cpp
- Committer:
- mr63
- Date:
- 2013-08-19
- Revision:
- 0:c05022d4f68c
File content as of revision 0:c05022d4f68c:
#include "mbed.h" #include "LKM1638.h" //Strobe //CLK //Data LKM1636 display(p23,p22,p21); int main() { while(1) //Do what ever is between these brackets forever or until the micro is reset. { for(unsigned char count = 0; count<225; count++) { display.Write_Short(count,0); display.Write_Short(225-count,1); display.LEDS (count); wait(.1); count++; } for(unsigned long int count = 65536; count<65700; count) { display.Write_Long(count); wait(.1); count++; display.Switch_To_LED(display.read_buttons ()); } display.Clear(); } }