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
| 501 curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh | |
| 502 export PATH=$PATH:$HOME/bin | |
| 503 arduino-cli version | |
| 504 arduino-cli core update-index | |
| 505 arduino-cli core install arduino:avr | |
| 506 arduino-cli board list | |
| 507 arduino-cli sketch new pH_Meter | |
| 508 nano pH_Meter/pH_Meter.ino | |
| 509 arduino-cli compile --fqbn arduino:avr:uno pH_Meter | |
| 510 arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:avr:uno pH_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
| package main | |
| import ( | |
| "context" | |
| "crypto/ecdsa" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "math/big" | |
| "os" |