Read from Grove Button and write to Grove RGB Led V2 on Raspberry Pi in Python (+bash)

Job ID: 35252267

Budget: $10 – $30 USD

I am adding a Grove Button and a Grove RGB Led V2 to the python code I run on a Raspberry Pi. For this, I need first to install the software for the hat 1️⃣ and then run some sample python code 2️⃣.

I started 1️⃣ here: https://github.com/kamangir/blue-sbc/blob/main/.abcli/install/grove.sh and decided to use the examples in https://github.com/Seeed-Studio/grove.py/blob/master/grove/ for 2️⃣

When I run `python3 grove_button.py`, I see this error message: "Check whether I2C enabled and Grove Base Hat RPi or Grove Base Hat RPi Zero inserted". In this project, you are asked to fix this problem. ⭐

I expect to receive a set of bash commands to install the hat, after which I must be able to run all/most of the samples in https://github.com/Seeed-Studio/grove.py/blob/master/grove/

This is an open-source project: https://github.com/kamangir/dec82
Related categories: Python Linux Raspberry Pi Open Source