Initial commit of MPLABX version

This commit is contained in:
A.M. Rowsell 2025-07-30 21:48:16 -04:00
commit d80b03bdf0
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1
10 changed files with 251 additions and 0 deletions

25
NeoPixel.hpp Normal file
View file

@ -0,0 +1,25 @@
/*
* File: NeoPixel.hpp
* Author: amr
*
* Created on July 30, 2025, 9:35 PM
*/
#ifndef NEOPIXEL_HPP
#define NEOPIXEL_HPP
#include <stdint.h>
class NeoPixel {
public:
NeoPixel(uint8_t stringLength) : length(stringLength) {};
uint8_t setNeoPixel(uint8_t index, uint8_t red, uint8_t green, uint8_t blue);
void allPixelsOff(void);
private:
uint8_t sendPixelData(uint8_t count, uint8_t *data);
uint8_t PixelArray[64][3] = {{0}};
uint8_t length;
};
#endif // NEOPIXEL_HPP