sunfounder / SunFounder_SensorKit_for_RPi2

SunFounder Sensor Kit V2.0 for Raspberry Pi 2
GNU General Public License v2.0
114 stars 85 forks source link

fix error #17

Closed AnonymoZ closed 1 year ago

AnonymoZ commented 2 years ago

The code does not accommodate res = 128 nor res = 138. This throws an error since my base measurement is always 128.