v.0.0.8 mv number_to_bitarray_msb in utils-mathematics
This commit is contained in:
@@ -7,9 +7,9 @@ using namespace std;
|
||||
#include <FastLED.h>
|
||||
#include <vector>
|
||||
|
||||
// #include <font_5x7.h>
|
||||
#include <font_5x7.h>
|
||||
// #include <font_8x8.h>
|
||||
#include <font_16x16.h>
|
||||
// #include <font_16x16.h>
|
||||
|
||||
class LedMatrix : public CFastLED
|
||||
{
|
||||
@@ -22,7 +22,7 @@ private:
|
||||
vector<CRGB> leds; // Automatic memory management
|
||||
|
||||
template <size_t N>
|
||||
uint8_t charWidth(const uint16_t *charMatrix);
|
||||
uint8_t charWidth(const uint8_t *charMatrix);
|
||||
|
||||
public:
|
||||
LedMatrix(uint8_t h = 64, uint8_t w = 64);
|
||||
@@ -33,8 +33,6 @@ public:
|
||||
uint8_t drawChar(int x, int y, char c, CRGB color);
|
||||
// Draw text string
|
||||
void drawText(int x, int y, const char *text, CRGB color);
|
||||
|
||||
vector<uint16_t> number_to_bitarray_msb(uint16_t number, int bits = 8, boolean four_bits = false);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user