sudo snap install arduino
Run this command, as well:
sudo usermod -a -G dialout $USER
- Select Your Board: Go to
Tools > Board
and select the Arduino board model you are using. - Select Your Port:
Tools > Port
void setup() { // put your setup code here, to run once:
// Set LED pin into output mode
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() { // put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED on
delay(1000); // wait one second
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on
delay(1000); // wait one second
}
- Verify/Compile Your Sketch
- Upload Your Sketch
- Open the Serial Monitor (Optional)
Take look on the led subfolder for more details about the circuit.
https://www.raspberrypi.com/software/
sudo apt install rpi-imager
conda env create -f environment.yml
conda activate pipy
Graphics and Lead Scientist: Ed Hawkins, National Centre for Atmospheric Science, University of Reading.
Data: Berkeley Earth, NOAA, UK Met Office, MeteoSwiss, DWD, SMHI, UoR, Meteo France & ZAMG.
#ShowYourStripes is distributed under a Creative Commons Attribution 4.0 International License