EasyManua.ls Logo

PICO RTC DS3231 - CPython Usage

PICO RTC DS3231
31 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
#Note that the directory of SDK may be different for different users, you need to check
the actual directory. Generally, it should be ~/pico/.
wget -P ~/pico https://files.waveshare.com/upload/2/26/Pico-rtc-ds3231_code.zip
cd ~/pico
unzip Pico-rtc-ds3231_code.zip
c
1. Hold the BOOTSEL button of Pico, and connect the USB interface of Pico to Raspberry Pi
then release the button.
2. Compile and run the pico-rtc-ds3231 examples:
cd ~/pico/pico-rtc-ds3231_code/c/build/
cmake ..
make
sudo mount /dev/sda1 /mnt/pico && sudo cp rtc.uf2 /mnt/pico/ && sudo sync && sudo umount
/mnt/pico && sleep 2 && sudo minicom -b 115200 -o -D /dev/ttyACM0