Skip to content

Commit

Permalink
mosfet example...
Browse files Browse the repository at this point in the history
  • Loading branch information
rlfbckr committed Sep 29, 2020
1 parent e33bcb0 commit 898b750
Showing 1 changed file with 18 additions and 0 deletions.
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);
}

0 comments on commit 898b750

Please sign in to comment.