P10

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers LED_P10.h Source File

LED_P10.h

00001 
00002 #include "mbed.h"
00003 
00004 class LedP10
00005 {
00006   public:
00007     LedP10();
00008     void showmsg_single_scroll(char msg[], int no_of_times,int speed, int font);
00009     void showmsg_double_scroll(char msg1_[],char msg2_[],int no_of_times1,int no_of_times2, int speed1_,int speed2, int font_);
00010     void showmsg_single_static(char msg_[],int font_);
00011     void showmsg_single_static(long int msg_,int font_);
00012     
00013     void showmsg_double_static(char msg1_[],char msg2_[],int font_);
00014     void showmsg_double_static(char msg1_[],long int msg2_,int font_);
00015     void showmsg_double_static(long int msg1_,char msg2_[],int font_);
00016     void showmsg_double_static(long int msg1_,long int msg2_,int font_);
00017     void init(int A, int B, int storepin, int oe, int no_of_panels);
00018     void setbrightness(uint8_t brightness_);
00019     
00020   private:  
00021     static void  callback();
00022     static void  callback2();
00023     static void  callback3();
00024     static void  callback4();
00025     static void showgroup(int p, int q);
00026     static void init_internal();
00027     static void init();
00028     static void slide();
00029     static void  slidesingle();
00030     static void filldisplaysingle();
00031     static void filldisplaysingle_static();
00032     static void filldisplaydouble();
00033     static void filldisplaydouble_static();
00034     static void showone();
00035     static void store();
00036     static char *msg,*msg1,*msg2;
00037      static const uint8_t * font_lib;
00038     static uint8_t *dislay[2];
00039     
00040     char sts_dis[10];
00041     char sts_dis1[10];
00042     char sts_dis2[10];
00043     static int always;
00044     static int always1;
00045     static int always2;
00046     static int speed;
00047     static int speed1;
00048     static int speed2;
00049     static int speedcount;
00050     static int speedcount1;
00051     static int speedcount2;
00052     static int font;
00053     static int filled;
00054     static int index;
00055     static int filled1;
00056     static int filled2;
00057     static int index1;
00058     static int index2;
00059     static int numberofpanels;
00060     static int buffersize;
00061     static int storepin ;
00062     static int outputenablepin ;
00063     static int b ;
00064     static int a ;
00065     static int scroll;
00066     static int scroll1;
00067     static int scroll2;
00068     static int scrollcount;
00069     static int scrollcount1;
00070     static int scrollcount2;
00071     static int x;
00072     static int y;
00073     static uint8_t brightness;
00074     #define INF -1
00075 };