Go to advanced search

by AndrejB
Thu Feb 21, 2019 6:59 pm
Forum: Python
Topic: ADS1115+GPIO+SQL
Replies: 0
Views: 423

ADS1115+GPIO+SQL

Hello! I use following code to read ADS1115 chip and write data to SQL table. This works well. Maybe someone can help me to add GPIO pin status logging function to code above? Just read logic state (high or low) of GPIO pin and write number 1 (high) or 0 (low) to SQL column named pin1, pin2, etc. Fo...
by AndrejB
Wed Feb 20, 2019 9:52 am
Forum: Python
Topic: Using GPIO to update a MySQL table
Replies: 8
Views: 3974

Re: Using GPIO to update a MySQL table

Hello,

Pretty old theme. But maybe someone can help. How to modify code above to only write GPIO pin state (logic 0 or 1) to MySQL database.

Many Thanks

Andrej

Go to advanced search