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.
Dependencies: EthernetInterfacePlusHostname RdWebServer mbed-rtos mbed
DrawingManager.h
00001 #ifndef DRAWING_MANAGER 00002 #define DRAWING_MANAGER 00003 00004 // 00005 // Drawing Manager for LightWall 00006 // Rob Dobson 2015 00007 // 00008 00009 #include "mbed.h" 00010 #include "ledstrip.h" 00011 00012 class DrawingManager 00013 { 00014 public: 00015 DrawingManager(); 00016 void Init(int numLeds, int splitPoint); 00017 void Clear(); 00018 void RawFill(char* args, unsigned char* payload, int payloadLen, int payloadOffset); 00019 void Fill(char* args); 00020 void ShowLeds(); 00021 void DisplayIdle(unsigned int stepCount); 00022 00023 private: 00024 ledstrip* pLedStrip; 00025 bool isBusy; 00026 int GetIntFromNameValPair(char* buf, char* name, int invalidVal); 00027 unsigned char pRawFillPayloadOverhang[2]; 00028 int rawFillPayloadOverhangBytes; 00029 }; 00030 00031 #endif
Generated on Wed Jul 13 2022 23:44:38 by
1.7.2