Skip to content
Snippets Groups Projects
Select Git revision
  • 546b7c6e7397a675f3f080d0ce5bd753ba0497d7
  • master default
2 results

spisender.h

Blame
  • spisender.h 251 B
    #ifndef SPISENDER_H
    #define SPISENDER_H
    
    #include "spiframe.h"
    
    class SpiSender
    {
    private:
        int readyPin;
    
    public:
        SpiSender(int readyPin);
        int getReadyPin() const;
        bool sendFrame(const SpiFrame& frame) const;
    };
    
    #endif // SPISENDER_H