Red - GC1 (D9)
Green - GC2 (D10)
Blue - GC0 (D8)
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
#!/usr/bin/env python3 | |
import os | |
import json | |
import requests | |
import tarfile | |
from zipfile import ZipFile | |
def download_file(url, filename): | |
with requests.get(url, stream=True) as r: |
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
#!/usr/bin/env python3 | |
# | |
# Warning: use at your own risk! | |
# | |
from smbus2 import SMBus | |
import sys, time, socket | |
AURA_REG_DEVICE_NAME = 0x1000 |
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
#if defined(ARDUINO_WIO_TERMINAL) | |
# include <rpcWiFi.h> | |
#elif defined(ARDUINO_SAMD_MKRWIFI1010) | |
# include <WiFiNINA.h> | |
#elif defined(ARDUINO_SAMD_MKR1000) | |
# include <WiFi101.h> | |
#elif defined(ARDUINO_ARCH_ESP8266) | |
# include <ESP8266WiFi.h> | |
#else |
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
''' | |
Using your phone: | |
- Disable PIN code on the SIM card | |
- Check your balance | |
- Check that APN, User, Pass are correct and you have internet | |
Ensure the SIM card is correctly inserted into the board | |
Ensure that GSM antenna is firmly attached | |
NOTE: While GSM is connected to the Internet, WiFi can be used only in AP mode |
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
#!/usr/bin/env lua | |
local socket = require("socket") | |
local use_ssl, ssl = pcall(require, "ssl") | |
local Blynk = require("blynk.socket") | |
local Timer = require("timer") | |
local http = require("socket.http") | |
assert(#arg >= 1, "Please specify Auth Token") |
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
/* | |
Also, need to change in ILI9341pal.js: | |
var LCD_WIDTH = 320; | |
var LCD_HEIGHT = 240; | |
*/ | |
BTN1 = D39 | |
BTN2 = D38 | |
BTN3 = D37 | |
SPKR = D25 |
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
#!/bin/bash | |
### | |
# Requires Null Keyboard https://play.google.com/store/apps/details?id=com.wparam.nullkeyboard | |
# Author: Volodymyr Shymanskyy | |
### | |
brightness=$(adb shell settings get system screen_brightness) | |
ime=$(adb shell settings get secure default_input_method) |
VBoxManage modifyvm "OSX" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "OSX" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
1280×720 (HD)
NewerOlder