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:
- 18:a61600110235
- Parent:
- 16:910bf46f2ce4
- Child:
- 19:43cb725a2598
--- a/SD600A.h Thu Oct 11 04:30:47 2012 +0000
+++ b/SD600A.h Thu Oct 11 04:40:47 2012 +0000
@@ -17,7 +17,7 @@
#define MBED_SD600A_H
//#define DELAY_PERIOD (1)
-#define IDLE_INTERVAL (10)
+#define INTERRUPT_INTERVAL (20)
class SD600A : public LedStrip {
@@ -45,7 +45,7 @@
uint32_t byte_index;
uint16_t numLEDs; // Number of RGB LEDs in strand
Ticker idletoggle;
- void idle_function(void); // toggles the clock to keep PWM working.
+ void spi_isr(void); // toggles the clock to keep PWM working.
void
writeguard(void);
