Shahariar Hossain
/
FRDM-K82F_8x8LED_Matrix_nochip
Quick demo for LED 8x8 Matrix with FRDM-K82F
main.cpp@3:6cdeb3b19afb, 2018-06-03 (annotated)
- Committer:
- suntopbd
- Date:
- Sun Jun 03 01:47:20 2018 +0000
- Revision:
- 3:6cdeb3b19afb
- Parent:
- 2:4e21ea1275a1
Fonts improved;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
suntopbd | 0:b16b3c2d882e | 1 | // copyleft by suntopbd 23.5.18 |
suntopbd | 0:b16b3c2d882e | 2 | /* |
suntopbd | 0:b16b3c2d882e | 3 | PINOUT |
suntopbd | 0:b16b3c2d882e | 4 | https://os.mbed.com/platforms/FRDM-K82F/#board-pinout |
suntopbd | 0:b16b3c2d882e | 5 | should work with any other board with 16 I/O available |
suntopbd | 0:b16b3c2d882e | 6 | */ |
suntopbd | 0:b16b3c2d882e | 7 | |
suntopbd | 2:4e21ea1275a1 | 8 | #include "mbed.h" |
suntopbd | 2:4e21ea1275a1 | 9 | #include "Char_Fonts.h" |
suntopbd | 0:b16b3c2d882e | 10 | |
suntopbd | 2:4e21ea1275a1 | 11 | int main() |
suntopbd | 1:1088a4658fc2 | 12 | |
suntopbd | 2:4e21ea1275a1 | 13 | { |
suntopbd | 0:b16b3c2d882e | 14 | disp_off(); |
suntopbd | 3:6cdeb3b19afb | 15 | speed_down(0.3); |
suntopbd | 3:6cdeb3b19afb | 16 | gap_up(0.1); |
suntopbd | 0:b16b3c2d882e | 17 | |
suntopbd | 0:b16b3c2d882e | 18 | while (1) |
suntopbd | 0:b16b3c2d882e | 19 | { |
suntopbd | 3:6cdeb3b19afb | 20 | // Prints A QUICK BROWN FOX JUMPED OVER THE LAZY DOGS ! // |
suntopbd | 1:1088a4658fc2 | 21 | |
suntopbd | 3:6cdeb3b19afb | 22 | space(); // show a blank display |
suntopbd | 2:4e21ea1275a1 | 23 | A();space(); |
suntopbd | 2:4e21ea1275a1 | 24 | Q();U();I();C();K();space(); |
suntopbd | 2:4e21ea1275a1 | 25 | B();R();O();W();N();space(); |
suntopbd | 2:4e21ea1275a1 | 26 | F();O();X();space(); |
suntopbd | 2:4e21ea1275a1 | 27 | J();U();M();P();E();D();space(); |
suntopbd | 2:4e21ea1275a1 | 28 | O();V();E();R();space(); |
suntopbd | 2:4e21ea1275a1 | 29 | T();H();E();space(); |
suntopbd | 2:4e21ea1275a1 | 30 | L();A();Z();Y();space(); |
suntopbd | 2:4e21ea1275a1 | 31 | D();O();G();S(); |
suntopbd | 2:4e21ea1275a1 | 32 | space(); // show a blank display |
suntopbd | 3:6cdeb3b19afb | 33 | Amark(); |
suntopbd | 2:4e21ea1275a1 | 34 | |
suntopbd | 0:b16b3c2d882e | 35 | } |
suntopbd | 0:b16b3c2d882e | 36 | |
suntopbd | 0:b16b3c2d882e | 37 | //..........................................// |
suntopbd | 1:1088a4658fc2 | 38 | } |