Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: N5110.cpp
- Revision:
- 2:e93021cfb0a9
- Parent:
- 1:df68f34cd32d
- Child:
- 3:f90dd1042d17
diff -r df68f34cd32d -r e93021cfb0a9 N5110.cpp
--- a/N5110.cpp Sun Jan 26 19:30:09 2014 +0000
+++ b/N5110.cpp Sun Jan 26 20:06:58 2014 +0000
@@ -1,6 +1,7 @@
#include "mbed.h"
#include "N5110.h"
+
N5110::N5110(PinName pwrPin, PinName scePin, PinName rstPin, PinName dcPin, PinName mosiPin, PinName sclkPin, PinName ledPin)
{
@@ -15,6 +16,7 @@
}
+
void N5110::init()
{
turnOn(); // power up