Pfannex / ADE7953_Breakoutboard

WattMeter Breakoutboard
4 stars 6 forks source link

Results of code review and optimization trials #2

Closed borisneubert closed 7 years ago

borisneubert commented 7 years ago

M.E. sind nur die Änderungen in getWave() und die Umformulierung zu

for (int i= 0; i< count; i++) { val = (val << 8) + Wire.read(); //read MSB first }

beim Lesen vom I2C-Bus beachtenswert.