kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 156 forks source link

Add basic support for INA219 current sensor #58

Open fluffy opened 8 years ago

fluffy commented 8 years ago

Hi, I like the embd library and added support for INA219 current sensor. I have only tested on a Pi but given it only uses the I2C calls, it seems fairly likely it will work on all the platforms. I will probably do some polish on this but wanted to send it your direction for an early review and see if you had any suggestions. I tried to keep it in the style of the other sensors.

Thanks, Cullen

tve commented 7 years ago

Hi, I don't know whether you are at all interrested in getting this merged in. If so, I think it could do with some docs/comments...

fluffy commented 7 years ago

I sort of assumed this project was dead after not hearing anything since last May but glad to see you are moving it forward. Do you have an similar sort of sensor file that might form a guideline for what would be needed ? I'd be glad to see this get merged in but total only want to put time into it if I know that is going to happen.