df

Dependencies:   mbed

Fork of APP1 by Team APP

Committer:
GaiSensei
Date:
Mon Jan 16 00:06:45 2017 +0000
Revision:
13:bb9669053eb3
Parent:
2:b8a20f7e2912
Child:
21:a111be2582be
Create homemade_mbed functions; ; - Read bits; - Write bits; ; Sorry messy commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GaiSensei 2:b8a20f7e2912 1 #include "mbed.h"
GaiSensei 13:bb9669053eb3 2 #include "DisplayerConstants.hpp"
GaiSensei 2:b8a20f7e2912 3
GaiSensei 2:b8a20f7e2912 4 class SPIDisplayer
GaiSensei 2:b8a20f7e2912 5 {
GaiSensei 2:b8a20f7e2912 6 public:
GaiSensei 2:b8a20f7e2912 7 SPIDisplayer(PinName mosi, PinName miso, PinName sclk, PinName ssel);
GaiSensei 2:b8a20f7e2912 8 void displayAngle(float angle);
GaiSensei 2:b8a20f7e2912 9 void reset();
GaiSensei 2:b8a20f7e2912 10 private:
GaiSensei 2:b8a20f7e2912 11 SPI device;
GaiSensei 2:b8a20f7e2912 12 Serial pc;
GaiSensei 2:b8a20f7e2912 13 };