GuyCarver / MicroPython

All of my MicroPython stuff
143 stars 62 forks source link

Typo GY521, see link #2

Closed MoritzSMisko closed 1 year ago

MoritzSMisko commented 1 year ago

Hello there, while adapting your class to work on the rp2040, I found a small typo: 'accel' class has no attribute 'setfulscaleaccelrange', should be 'setfullscaleaccelrange' see https://github.com/GuyCarver/MicroPython/blob/cb95afd55ee1f82cebeb5b648ef623e8ee0a2cf7/lib/GY521.py#L380

MoritzSMisko commented 1 year ago

Another Typo, there is no data6, but a _data6 https://github.com/GuyCarver/MicroPython/blob/cb95afd55ee1f82cebeb5b648ef623e8ee0a2cf7/lib/GY521.py#L534

GuyCarver commented 1 year ago

Thank you for the fixes.