Skip to content

Instantly share code, notes, and snippets.

View AJ-Smoothie's full-sized avatar

AJ AJ-Smoothie

  • AJs Perspective
  • TN
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);