dc42 / OrmerodSensorBoard

Z-height sensor board add-on for RepRapPro Ormerod 3D printer
102 stars 67 forks source link

is that lines has something wrong? #6

Closed skcks closed 3 years ago

skcks commented 3 years ago

hi @dc42 , I am a little confusing about the code in that lines。could you give me some explain or tips?thanks. why not the line is nearData.addReading(adcVal) https://github.com/dc42/OrmerodSensorBoard/blob/8ecd9045668f424db8f52a64813df3c5f1b2b846/Firmware/Mini-differential-IR/V1.2/MiniIRSensorSMD.cpp#L211 why not the line is offData.addReading(adcVal) https://github.com/dc42/OrmerodSensorBoard/blob/8ecd9045668f424db8f52a64813df3c5f1b2b846/Firmware/Mini-differential-IR/V1.2/MiniIRSensorSMD.cpp#L220

skcks commented 3 years ago

I figured out it