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
winget install Microsoft.VisualStudioCode --accept-package-agreements --accept-source-agreements --silent | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --force --install-extension ms-ceintl.vscode-language-pack-ja | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --force --install-extension ms-vscode.cpptools | |
call "C:\Users\%USERNAME%\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd" --force --install-extension platformio.platformio-ide | |
cd C:\Users\%USERNAME%\Desktop | |
curl -L https://codeload.github.com/M5Fly-kanazawa/StampFly/zip/refs/heads/main -o StampFly.zip | |
tar -xf StampFly.zip | |
cd StampFly-main |
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
sudo apt install python3-venv unzip | |
curl -L https://go.microsoft.com/fwlink/?LinkID=760868 -o vscode.deb | |
sudo apt install ./vscode.deb | |
code --force --install-extension ms-ceintl.vscode-language-pack-ja | |
code --force --install-extension ms-vscode.cpptools | |
code --force --install-extension platformio.platformio-ide | |
cd ~ |
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
# https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html | |
sudo apt update | |
sudo apt upgrade | |
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 | |
mkdir -p ~/esp | |
cd ~/esp | |
git clone --recursive https://github.com/espressif/esp-idf.git |
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
-DUSER_DEFINE=1 |
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
# | |
# By Richard Aplin, released into the public domain for any purpose, no warranties implied, 8/17/2022 | |
# | |
# | |
import struct | |
import serial | |
import time | |
#Super lightweight code to read Hopi HP-9800 power meter |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>ESP32 PWM パラメータ計算</title> | |
<style> | |
body { | |
font-family: sans-serif; | |
margin: 2em; | |
} |
OlderNewer