GuyCarver / MicroPython

All of my MicroPython stuff
147 stars 63 forks source link

Typo GY521, see link #2

Closed MoritzSMisko closed 2 years ago

MoritzSMisko commented 2 years 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 2 years ago

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

GuyCarver commented 2 years ago

Thank you for the fixes.