TR-mbed 1.0
Loading...
Searching...
No Matches
oledDisplay.h
Go to the documentation of this file.
1#ifndef TR_EMBEDDED_OLEDDISPLAY_H
2#define TR_EMBEDDED_OLEDDISPLAY_H
3
4#include "mbed.h"
5#include <cmath>
6#include <string>
7#include "Adafruit_SSD1306.h"
8#include "motor/DJIMotor.h"
9//we will be using Adafruit_SSD1306
10
11//I2C i2c(PB_7,PB_8);
12//Adafruit_SSD1306_I2c oled(i2c,NC);
13
15
16public:
18 I2C i2c;
20 //Adafruit_SSD1306_I2c oled;
21 //explicit oledDisplay(I2C &i2c);
22 int motorCount();
23};
24
25
26#endif //TR_EMBEDDED_OLEDDISPLAY_H
Definition Adafruit_SSD1306.h:159
Definition oledDisplay.h:14
oledDisplay()
Definition oledDisplay.cpp:5
int motorCount()
Definition oledDisplay.cpp:11
I2C i2c
Definition oledDisplay.h:18
Adafruit_SSD1306_I2c oled
Definition oledDisplay.h:19