Skip to content

Instantly share code, notes, and snippets.

View h3r's full-sized avatar
🐦

Hermann Plass h3r

🐦
  • UPF-GTI
  • BCN
View GitHub Profile
@postspectacular
postspectacular / hsv2rgb.ino
Last active June 18, 2024 22:02
Super compact HSV/RGB conversions for Arduino/C
int redPin = 6;
int greenPin = 5;
int bluePin = 9;
float col[3];
float hue = 0.0;
void setup() {
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);