Closed skcks closed 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
nearData.addReading(adcVal)
offData.addReading(adcVal)
I figured out it
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 isoffData.addReading(adcVal)
https://github.com/dc42/OrmerodSensorBoard/blob/8ecd9045668f424db8f52a64813df3c5f1b2b846/Firmware/Mini-differential-IR/V1.2/MiniIRSensorSMD.cpp#L220