Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile the SoftWire_MLX90614 example #16

Closed
katkothaza opened this issue Sep 24, 2020 · 1 comment
Closed

Can't compile the SoftWire_MLX90614 example #16

katkothaza opened this issue Sep 24, 2020 · 1 comment

Comments

@katkothaza
Copy link

Hi
this:

void exitPWM(void)
{
	// Make SMBus request to force SMBus output instead of PWM
	SoftWire::setSclLow(&i2c);
	delay(3); // Must be > 1.44ms
	SoftWire::setSclHigh(&i2c);
	delay(2);
}

should be:

void exitPWM(void)
{
	// Make SMBus request to force SMBus output instead of PWM
	SoftWire::sclLow(&i2c);
	delay(3); // Must be > 1.44ms
	SoftWire::sclHigh(&i2c);
	delay(2);
}
stevemarple added a commit that referenced this issue Sep 27, 2020
Fixes Github issue #16
Thanks to [katkothaza](https://github.com/katkothaza).
@stevemarple
Copy link
Owner

Thanks, that should be fixed in v2.0.1.

stevemarple added a commit that referenced this issue Sep 27, 2020
Fixes Github issue #16
Thanks to [katkothaza](https://github.com/katkothaza).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants