Light Show library for organic, calm, light display.

Dependencies:   BLE_API mbed nRF51822

Fork of mbed_blinky by Mbed

Committer:
nargetdev
Date:
Mon Feb 01 02:45:51 2016 +0000
Revision:
27:a55dde8334f3
Parent:
26:8bc9984c4600
light_show library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nargetdev 25:d48f46d753fd 1 #ifndef UTILITY_H
nargetdev 25:d48f46d753fd 2 #define UTILITY_H
nargetdev 25:d48f46d753fd 3
nargetdev 25:d48f46d753fd 4 #include "rgb_led.h"
nargetdev 25:d48f46d753fd 5
nargetdev 25:d48f46d753fd 6 //extern Serial pc(USBTX, USBRX); // tx, rx
nargetdev 25:d48f46d753fd 7
nargetdev 26:8bc9984c4600 8
nargetdev 26:8bc9984c4600 9 /* returns 32 bit hash for x */
nargetdev 25:d48f46d753fd 10 unsigned int hash(unsigned int x);
nargetdev 26:8bc9984c4600 11
nargetdev 26:8bc9984c4600 12 /** This procedure is for identifying the firmware revision.
nargetdev 26:8bc9984c4600 13 * Hashes a random seed to a sequence of colors to be displayed on LEDs
nargetdev 26:8bc9984c4600 14 * Should be portable to other means of output.
nargetdev 26:8bc9984c4600 15 **/
nargetdev 25:d48f46d753fd 16 void identify(unsigned int m, Rgb&);
nargetdev 25:d48f46d753fd 17
nargetdev 25:d48f46d753fd 18 #endif