1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Sync to latest oled --fix

This commit is contained in:
suyuan 2023-10-08 16:19:31 +08:00
parent b82119b759
commit 1a08b09d18
27 changed files with 3536 additions and 2942 deletions

22
luci-app-ouad/src/Example_Code/example_app.h Executable file → Normal file
View file

@ -1,7 +1,10 @@
#define CENTER 0 //single item display
#define SPLIT 1 //two items
#define CENTER 0 // single item display
#define SPLIT 1 // two items
#define MERGE 2
#define FULL 3
#define KB_BYTES (1024)
#define MB_BYTES (1024 * 1024)
#define GB_BYTES (1024 * 1024 * 1024)
void testdrawline();
void testdrawrect();
@ -16,20 +19,15 @@ void testscrolltext(char *str);
void display_texts();
void display_bitmap();
void display_invert_normal();
void testdrawbitmap(const unsigned char *bitmap, unsigned char w, unsigned char h);
void testdrawbitmap(const unsigned char *bitmap, unsigned char w,
unsigned char h);
void testdrawbitmap_eg();
void deeplyembedded_credits();
void testprintinfo();
void testinfo1();
void testinfo2();
void testdate(int mode, int y);
void testlanip(int mode, int y);
void testvpsip(int mode, int y);
void testip(int mode, int y, char *ifname);
void testcpufreq(int mode, int y);
void testcputemp(int mode, int y);
void testnetspeed(int mode, int y);
void testintfstatus(int mode, int y);
void testnetspeed(int mode, int y, unsigned long int rx, unsigned long int tx);
void testcpu(int y);
void display_bitmap_uploaddownload();
char *get_ip_addr(char *ifname);