This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Just the Notifications, please | |
============================== | |
1. Make a Fluid (http://fluidapp.com/) instance of https://twitter.com/i/notifications | |
2. Apply the below CSS as a Userstyles stylesheet | |
3. Enjoy just the conversation, not the timeline | |
Why? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int currentValue = 0; | |
int values[] = {0,0}; | |
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
if(Serial.available()){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void HSV_to_RGB(float h, float s, float v, byte *r, byte *g, byte *b) | |
{ | |
int i,f,p,q,t; | |
h = max(0.0, min(360.0, h)); | |
s = max(0.0, min(100.0, s)); | |
v = max(0.0, min(100.0, v)); | |
s /= 100; | |
v /= 100; |