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
import time | |
import board | |
import simpleio | |
import digitalio | |
from analogio import AnalogIn | |
led = digitalio.DigitalInOut(board.D13) | |
led.direction = digitalio.Direction.OUTPUT | |
piezo = board.A3 |
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
# Board: Seeeduino XIAO | |
import time | |
import board | |
from digitalio import DigitalInOut, Direction | |
led = DigitalInOut(board.D13) | |
led.direction = Direction.OUTPUT | |
while True: |
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
# References: | |
# https://projects.raspberrypi.org/en/projects/flappy-astronaut | |
from sense_hat import SenseHat | |
from random import randint | |
from time import sleep | |
sense = SenseHat() | |
RED = (255, 0, 0) | |
BLUE = (0, 0, 255) |
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
from sense_hat import SenseHat | |
from time import time | |
import datetime | |
import requests | |
sense = SenseHat() | |
sense.clear() | |
send = False |
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
from sense_hat import SenseHat | |
from time import sleep | |
import random | |
sense = SenseHat() | |
sense.low_light = True | |
GREEN = (0, 255, 0) | |
RED = (255, 0, 0) | |
YELLOW = (255, 255, 0) |
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
/* | |
Project: Heart Rate Monitor Using Pulse Sensor and Maker Nano | |
Board: Arduino Nano (Maker Nano) | |
Connections: | |
Nano | I2C LCD Grove | |
GND - GND | |
5V - VCC | |
SDA - SDA | |
SCL - SCL |
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
/* | |
Project: Control NeoPixel RGB LED Color Code Using Keypad and Maker Nano #ArduinoNano | |
Board: Arduino Nano (Maker Nano) | |
Connections: | |
Nano | I2C LCD Grove | |
GND - GND | |
5V - VCC | |
SDA - SDA | |
SCL - SCL |
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
/* | |
Project: Monitor Temperature Humidity Through SMS Using M5Stack and SIM800L | |
Board: M5Stack-Core-ESP32 | |
Connections: | |
ESP32 | SIM800L | |
IO17 - RX | |
IO16 - TX | |
IO5 - RST | |
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
#include <M5Stack.h> | |
#include "Fingerprint.h" | |
Fingerprint::Fingerprint(void) | |
{ | |
Serial1.begin(19200, SERIAL_8N1, FINGER_TX, FINGER_RX); | |
} | |
uint8_t Fingerprint::TxAndRxCmd(uint8_t Scnt, uint8_t Rcnt, uint16_t Delay_ms) |
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
from microbit import * | |
import music | |
music.play(["C4:1", "G4:1"]) | |
pot_value = 0 | |
pot_prev = 0 | |
data_in = '' | |
while True: |
NewerOlder