Created
October 7, 2013 20:38
-
-
Save devth/6874546 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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