P10

Committer:
shivanandgowdakr
Date:
Mon Sep 16 15:02:05 2019 +0000
Revision:
0:3d89509fadb7
p10;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shivanandgowdakr 0:3d89509fadb7 1
shivanandgowdakr 0:3d89509fadb7 2 #include "mbed.h"
shivanandgowdakr 0:3d89509fadb7 3
shivanandgowdakr 0:3d89509fadb7 4 class LedP10
shivanandgowdakr 0:3d89509fadb7 5 {
shivanandgowdakr 0:3d89509fadb7 6 public:
shivanandgowdakr 0:3d89509fadb7 7 LedP10();
shivanandgowdakr 0:3d89509fadb7 8 void showmsg_single_scroll(char msg[], int no_of_times,int speed, int font);
shivanandgowdakr 0:3d89509fadb7 9 void showmsg_double_scroll(char msg1_[],char msg2_[],int no_of_times1,int no_of_times2, int speed1_,int speed2, int font_);
shivanandgowdakr 0:3d89509fadb7 10 void showmsg_single_static(char msg_[],int font_);
shivanandgowdakr 0:3d89509fadb7 11 void showmsg_single_static(long int msg_,int font_);
shivanandgowdakr 0:3d89509fadb7 12
shivanandgowdakr 0:3d89509fadb7 13 void showmsg_double_static(char msg1_[],char msg2_[],int font_);
shivanandgowdakr 0:3d89509fadb7 14 void showmsg_double_static(char msg1_[],long int msg2_,int font_);
shivanandgowdakr 0:3d89509fadb7 15 void showmsg_double_static(long int msg1_,char msg2_[],int font_);
shivanandgowdakr 0:3d89509fadb7 16 void showmsg_double_static(long int msg1_,long int msg2_,int font_);
shivanandgowdakr 0:3d89509fadb7 17 void init(int A, int B, int storepin, int oe, int no_of_panels);
shivanandgowdakr 0:3d89509fadb7 18 void setbrightness(uint8_t brightness_);
shivanandgowdakr 0:3d89509fadb7 19
shivanandgowdakr 0:3d89509fadb7 20 private:
shivanandgowdakr 0:3d89509fadb7 21 static void callback();
shivanandgowdakr 0:3d89509fadb7 22 static void callback2();
shivanandgowdakr 0:3d89509fadb7 23 static void callback3();
shivanandgowdakr 0:3d89509fadb7 24 static void callback4();
shivanandgowdakr 0:3d89509fadb7 25 static void showgroup(int p, int q);
shivanandgowdakr 0:3d89509fadb7 26 static void init_internal();
shivanandgowdakr 0:3d89509fadb7 27 static void init();
shivanandgowdakr 0:3d89509fadb7 28 static void slide();
shivanandgowdakr 0:3d89509fadb7 29 static void slidesingle();
shivanandgowdakr 0:3d89509fadb7 30 static void filldisplaysingle();
shivanandgowdakr 0:3d89509fadb7 31 static void filldisplaysingle_static();
shivanandgowdakr 0:3d89509fadb7 32 static void filldisplaydouble();
shivanandgowdakr 0:3d89509fadb7 33 static void filldisplaydouble_static();
shivanandgowdakr 0:3d89509fadb7 34 static void showone();
shivanandgowdakr 0:3d89509fadb7 35 static void store();
shivanandgowdakr 0:3d89509fadb7 36 static char *msg,*msg1,*msg2;
shivanandgowdakr 0:3d89509fadb7 37 static const uint8_t * font_lib;
shivanandgowdakr 0:3d89509fadb7 38 static uint8_t *dislay[2];
shivanandgowdakr 0:3d89509fadb7 39
shivanandgowdakr 0:3d89509fadb7 40 char sts_dis[10];
shivanandgowdakr 0:3d89509fadb7 41 char sts_dis1[10];
shivanandgowdakr 0:3d89509fadb7 42 char sts_dis2[10];
shivanandgowdakr 0:3d89509fadb7 43 static int always;
shivanandgowdakr 0:3d89509fadb7 44 static int always1;
shivanandgowdakr 0:3d89509fadb7 45 static int always2;
shivanandgowdakr 0:3d89509fadb7 46 static int speed;
shivanandgowdakr 0:3d89509fadb7 47 static int speed1;
shivanandgowdakr 0:3d89509fadb7 48 static int speed2;
shivanandgowdakr 0:3d89509fadb7 49 static int speedcount;
shivanandgowdakr 0:3d89509fadb7 50 static int speedcount1;
shivanandgowdakr 0:3d89509fadb7 51 static int speedcount2;
shivanandgowdakr 0:3d89509fadb7 52 static int font;
shivanandgowdakr 0:3d89509fadb7 53 static int filled;
shivanandgowdakr 0:3d89509fadb7 54 static int index;
shivanandgowdakr 0:3d89509fadb7 55 static int filled1;
shivanandgowdakr 0:3d89509fadb7 56 static int filled2;
shivanandgowdakr 0:3d89509fadb7 57 static int index1;
shivanandgowdakr 0:3d89509fadb7 58 static int index2;
shivanandgowdakr 0:3d89509fadb7 59 static int numberofpanels;
shivanandgowdakr 0:3d89509fadb7 60 static int buffersize;
shivanandgowdakr 0:3d89509fadb7 61 static int storepin ;
shivanandgowdakr 0:3d89509fadb7 62 static int outputenablepin ;
shivanandgowdakr 0:3d89509fadb7 63 static int b ;
shivanandgowdakr 0:3d89509fadb7 64 static int a ;
shivanandgowdakr 0:3d89509fadb7 65 static int scroll;
shivanandgowdakr 0:3d89509fadb7 66 static int scroll1;
shivanandgowdakr 0:3d89509fadb7 67 static int scroll2;
shivanandgowdakr 0:3d89509fadb7 68 static int scrollcount;
shivanandgowdakr 0:3d89509fadb7 69 static int scrollcount1;
shivanandgowdakr 0:3d89509fadb7 70 static int scrollcount2;
shivanandgowdakr 0:3d89509fadb7 71 static int x;
shivanandgowdakr 0:3d89509fadb7 72 static int y;
shivanandgowdakr 0:3d89509fadb7 73 static uint8_t brightness;
shivanandgowdakr 0:3d89509fadb7 74 #define INF -1
shivanandgowdakr 0:3d89509fadb7 75 };