Skip to content
Snippets Groups Projects
Select Git revision
  • 5dc872fd1fc7af2905b5c06bbcaf514ee78ac88f
  • master default protected
  • 1.3.1
  • 1.3.0
  • 1.2.0
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.19
  • 1.0.18
  • 1.0.17
  • 1.0.16
  • 1.0.15
  • 1.0.14
  • 1.0.13
  • 1.0.12
  • 1.0.10
  • 1.0.9
  • 1.0.8
22 results

App.js

Blame
  • Forked from KSZK / DevTeam / kszkepzes / old / kszkepzes-frontend
    Source project has a limited visibility.
    spiframe.h 443 B
    #ifndef SPIFRAME_H
    #define SPIFRAME_H
    
    #include <stdint.h>
    #include "mxframe.h"
    
    class SpiFrame
    {
    private:
        enum Color {RED, GREEN, BLUE};
        bool LedCoordToPixel(const MxFrame &mxframe, int bitpos, int colorbit, enum Color color, int column);
        bool PixelToLedCoord(int x, int y, enum Color color);
    
    public:
        SpiFrame();
        SpiFrame(const MxFrame& mxframe);
        uint16_t data[64 * 24];
        uint32_t length;
    };
    
    #endif // SPIFRAME_H