add oled
Fork of Adafruit_FeatherOLED by
Revision 3:969ca9fe5e2b, committed 2013-01-23
- Comitter:
- nkhorman
- Date:
- Wed Jan 23 02:43:38 2013 +0000
- Parent:
- 2:7bcea45e60d8
- Child:
- 4:853097cfa773
- Commit message:
- line endings ?
Changed in this revision
| Adafruit_SSD1306.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Adafruit_SSD1306.h Sun Aug 19 23:03:40 2012 +0000
+++ b/Adafruit_SSD1306.h Wed Jan 23 02:43:38 2013 +0000
@@ -89,7 +89,7 @@
class DigitalOut2 : public DigitalOut
{
public:
- DigitalOut2(PinName pin, bool active = false, const char *name = NULL) : DigitalOut(pin,name) { write(active); };
+ DigitalOut2(PinName pin, bool active = false) : DigitalOut(pin) { write(active); };
DigitalOut2& operator= (int value) { write(value); return *this; };
DigitalOut2& operator= (DigitalOut2& rhs) { write(rhs.read()); return *this; };
operator int() { return read(); };
