Blinka setup on R Pi 4 for Trinkey

Adafruit's tiny microcontroller platforms. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
JimBoulder
 
Posts: 11
Joined: Wed Jul 12, 2023 10:32 pm

Re: Blinka setup on R Pi 4 for Trinkey

Post by JimBoulder »

That is working. I can run my test file to get readings from the bme280!

Of note when I run 'sudo python3' the environment variable BLINKA_U2IF is not set. To bring it in:
jim@pi03:~/trinkey $ sudo -E bash -c 'python3 test.py'
Pressure = 839.2 hPa
Temperature = 21.7 degC
Humidity = 19.5%
Pressure = 839.2 hPa
Temperature = 21.7 degC
Humidity = 19.4%

Where BLINKA_U2IF is set in .bashrc.

Thank you,
Jim

User avatar
adafruit2
 
Posts: 22749
Joined: Fri Mar 11, 2005 7:36 pm

Re: Blinka setup on R Pi 4 for Trinkey

Post by adafruit2 »

🎉

Post Reply
Please be positive and constructive with your questions and comments.

Return to “Trinket, Trinkey and QT Py”