Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
void setup() {
pinMode(0, INPUT);
pinMode(8, OUTPUT);
}
void loop() {
uint16_t pot = analogRead(0);
analogWrite(8, map(pot, 0, 1023, 0, 15));
}
ac006e805This file is pinned to the selected release. Download the original to open it in your design tool.