Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef ParallelBus_h
- #define ParallelBus_h 001
- #ifdef ARDUINO && ARDUINO >= 100
- #include "Arduino.h"
- #else
- #include "WProgram.h"
- #endif
- #ifndef DATA_SIZE
- #define DATA_SIZE uint8_t
- #endif
- class ParallelBus {
- public:
- // Constructors.
- // Public methods.
- virtual void begin();
- virtual DATA_SIZE read();
- virtual void write(DATA_SIZE value);
- private:
- // Private methods.
- //virtual void init();
- // Private atributes.
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment