-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
libraries/BlinkSenseMove/examples/move/BSM_mosfet_solenoid/BSM_mosfet_solenoid.ino
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
This sketch demonstrates the Mosfet featured on Blink Sense Move. It allows driving high DC load e.g. a Solonoide. Make connections between the used pins (MOSFET_01 or MOSFET_02) and their corresponding Teensy pins. | ||
Enjoy. | ||
*/ | ||
|
||
/* BSM_System.h includes the Blink Sense Move library */ | ||
#include "BlinkSenseMove.h" | ||
|
||
void setup() { | ||
pinMode(MOSFET_01, OUTPUT); | ||
} | ||
|
||
void loop() { | ||
digitalWrite(MOSFET_01, LOW); | ||
delay(1000); | ||
digitalWrite(MOSFET_01, HIGH); | ||
delay(1000); | ||
} |