Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Led_demo by
helper.h
00001 int maskNone[60] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00002 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00003 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00004 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00005 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; 00006 00007 int maskLeft[60] = { 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00008 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00009 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 00010 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 00011 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}; 00012 00013 int maskRight[60] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 00014 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 00015 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 00016 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 00017 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0}; 00018 00019 00020 int maskStop[60] = { 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 00021 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 00022 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 00023 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 00024 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0}; 00025 00026 00027 //#define Connected 0x00 00028 #define PhoneDemo 0x01 00029 #define MusicDemo 0x02 00030 #define DistanceDemo 0x03 00031 #define AnimationOneDemo 0x04 00032 #define AnimationTwoDemo 0x05 00033 #define AnimationThreeDemo 0x06 00034 #define BikeDemo 0x07 00035 #define LEFT 0x08 00036 #define STOP 0x09 00037 #define RIGHT 0x0a 00038 #define LessPixelDensity 59 00039 #define MorePixelDensity 128 00040 00041 00042 00043 int getIndex(int r, int c);
Generated on Mon Jul 25 2022 18:36:17 by
1.7.2
