Skip to content

Instantly share code, notes, and snippets.

@devth
Created October 7, 2013 20:38
Show Gist options
  • Save devth/6874546 to your computer and use it in GitHub Desktop.
Save devth/6874546 to your computer and use it in GitHub Desktop.
#include <TinkerKit.h>
TKMosFet mos(O0);
// TKPotentiometer pot(I0);
int val = 10;
void setup() {
}
void loop()
{
// int val = 10; // pot.read();
val = val + 10;
mos.write(val);
delay(100);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment