Error as described in MBs email to MS
Dependencies: SDFileSystem app epson mbed msp430 pl tests
Diff: pagedice.h
- Revision:
- 0:c643d398cdb6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pagedice.h Thu Jan 11 13:42:27 2018 +0000 @@ -0,0 +1,52 @@ +// +// Filename: pagedice.h +// +// Flexbook page for page A2. +// + +// include guards +#ifndef PAGEDICE_H +#define PAGEDICE_H + +#include "page.h" +#include "hal.h" +#include "mcp23s17.h" +#include "pageoled.h" + +namespace Flexbook +{ + +struct SensorData; + +class PageDice : public Page +{ +public: + // Constructor needs to be explicit. + explicit PageDice(); + + // Destructor. + virtual ~PageDice(); + + virtual void HandlePageActions(); + + uint8_t DiceValue(); + //uint8_t dicenr; + +private: + // Disable the copy constructor. + PageDice(const PageDice &); + + // Disable assignment. + PageDice &operator=(const PageDice &); + + //void HandleDice(); + PageOLED pageoled; + uint8_t DicePoll(); +}; + +} // End Flexbook namespace. + +#endif // PAGEDICE_H + + +