paulvha/scd30

ESP32 Not getting ACK.

xinort opened this issue · 0 comments

Thank you for your work on this library. It is exactly what I was looking for. Unfortunately I can't get it to work. I'm not sure what I am doing wrong. I've confirmed the SCD30 is working by hooking it up to an Uno and using the sparkfun library. But with the ESP32 it doesn't seem to be able to communicate. In the examples there is a section that says:

//////////////////////////////////////////////////////////////////////////
// SELECT THE WIRE INTERFACE //
//////////////////////////////////////////////////////////////////////////
#define SCD30WIRE Wire

But there is only that one option. Reading I think I need to select SoftWire? But then looking at the library code it seems it should be set automatically? Basically my questions is there anything special I need to do for it to work on an ESP32?