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.
Fork of SD600A by
Diff: SD600A.h
- Revision:
- 23:2e60470dd134
- Parent:
- 19:43cb725a2598
- Child:
- 24:d8d960a7124e
diff -r 222eff98e2af -r 2e60470dd134 SD600A.h
--- a/SD600A.h Thu Oct 11 07:49:21 2012 +0000
+++ b/SD600A.h Fri Oct 12 04:16:23 2012 +0000
@@ -33,8 +33,7 @@
virtual void setPixelColor(uint16_t n, uint32_t c);
virtual uint16_t numPixels(void);
virtual uint32_t Color(uint8_t, uint8_t, uint8_t);
- DigitalOut dat;
- DigitalOut clk;
+ virtual uint32_t total_luminance(void);
private:
void write(uint8_t byte);
@@ -45,6 +44,8 @@
uint16_t numLEDs; // Number of RGB LEDs in strand
Ticker idletoggle;
void spi_isr(void); // toggles the clock to keep PWM working.
+ DigitalOut dat;
+ DigitalOut clk;
void
writeguard(void);
