Repository for pill dispenser code
- Download Arduino IDE
- Open the
PillDispenser_Full_HW\PillDispenser_Full_HW.ino
file with Arduino IDE - Then set-up Arduino IDE using the folowing instruction
- Then install all the required libraries:
AccelStepper
by mikem (Mike McCauley)ElapsedMillis
by Paul StoffregenTFT_eSPI
by BodmerDS1307RTC
andTime
by Michael Margolis
- Download the sample demo
- Unpack the compressed ZIP file and move 2 files from
Arduino/ResTouch-LCD-3.5
to proper directories:- Go to folder where all Arduino libraries are installed and find TFT_eSPI library
- In main directory replace the
User_Setup_Select.h
with file from ZIP - Replace
User_Setups/Setup60_RP2040_ILI9341.h
file with above mentioned ZIP file.
- Unpack the compressed ZIP file and move 2 files from
- In Select Board choose Raspberry Pi Pico W
After all those steps it should compile properly
Additional info on LCD used by us is here: https://www.waveshare.com/pico-restouch-lcd-3.5.htm