Skip to content

Instantly share code, notes, and snippets.

@CelliesProjects
Last active September 21, 2017 19:57
Show Gist options
  • Save CelliesProjects/b89e388112e7dadd7c66f37802ef6f54 to your computer and use it in GitHub Desktop.
Save CelliesProjects/b89e388112e7dadd7c66f37802ef6f54 to your computer and use it in GitHub Desktop.
PlasmaBol
extern "C" {
#include "user_interface.h"
}
void setup() {
pinMode(BUILTIN_LED, OUTPUT );
analogWriteFreq(1000);
system_update_cpu_freq(160);
}
void loop() {
analogWrite(BUILTIN_LED, analogRead(A0) * 1.0005 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment