- IdentiPi MicroPython example: Read the fingerprint image and draw it onto LCD
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 <ChaCha.h> | |
#include <SPI.h> // include libraries | |
#include <LoRa.h> | |
const long frequency = 923E6; // LoRa Frequency | |
byte message[64]; | |
int msg_len = 0; | |
struct { |
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 <WiFi.h> | |
#include <WebServer.h> | |
#define OUTPUT_PIN 26 | |
char ssid[] = "YOUR-WIFI-SSID"; | |
char pass[] = "YOUR-WIFI-PASSWORD"; | |
WebServer server(80); | |
void setup() { |
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 <M5StickC.h> | |
#include <WiFi.h> | |
#include <Time.h> | |
const char ssid[] = "<YOUR SSID>"; | |
const char pass[] = "***********"; | |
#define GPIO_PIN 10 /* JJY擬似信号を出力するピン */ | |
#define LEDC_BASE_FREQ 60000.0 /* JJY擬似信号の周波数 */ |
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 <M5StickC.h> | |
#include <BleKeyboard.h> | |
BleKeyboard bleKeyboard; | |
void setup() { | |
Serial.begin(115200); | |
Serial.println("Starting ..."); | |
M5.begin(); |
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
r10 r8 b8 r6 h c c b7 r7 | |
d b8 s d b6 b9 r9 b10 b10 | |
c b9 r10 r7 c r8 h r6 d | |
s r9 d h s h b7 b6 s |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <signal.h> | |
double a, b, c; | |
void test(int sig) | |
{ | |
printf("%f\n", a * b + c); | |
} |
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
$ bluetoothctl | |
[bluetooth]# scan on | |
Discovery started | |
[NEW] Device 00:BA:55:XX:XX;XX UM24C | |
[CHG] Device 00:BA:55:XX:XX;XX RSSI: -63 | |
[bluetooth]# pair 00:BA:55:XX:XX;XX | |
Attempting to pair with 00:BA:55:XX:XX;XX | |
[CHG] Device 00:BA:55:XX:XX;XX Connected: yes |
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
// ESP8266 Pins | |
// 4(SDA) --- AMG8833 SDA | |
// 5(SCL) --- AMG8833 SCL | |
// 13 --- LED (Anode) via 100ohm | |
#include <pgmspace.h> | |
#include <ESP8266WiFi.h> | |
#include <WiFiClient.h> | |
#include <ESP8266WebServer.h> | |
#include <WebSocketsServer.h> |
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 <Adafruit_GFX.h> // Core graphics library | |
#include <RGBmatrixPanel.h> // Hardware-specific library | |
#include <Fonts/Arial4pt7b.h> | |
#include <Fonts/Arial7pt7b.h> | |
#define CLK 8 // MUST be on PORTB! (Use pin 11 on Mega) | |
#define LAT A3 | |
#define OE 9 | |
#define A A0 | |
#define B A1 |
NewerOlder