Scruss and hippy,
My apologies to you for alerting this forum that I had an issue that I documented on Github but then not responding here but only on github.
Scruss, yes, you were initially correct in that I did first load Pico firmware instead of Pico W firmware. That caused many errors.
And I should have put my code here as well. I will do that, but the code will be the new modified code that works now.
I am happy to say that that the problem was solved by robert-hh on Github. Here is the solution to my sensor errors that occurred only because I upgraded my firmware from v1.20.0 to v1.22.1.
The original code:
>>>
thermistor28 = machine.ADC(28)
thermistor27 = machine.ADC(27)
>>>
robert-hh suggestion on GitHub was used to modify code
modified code:
>>>
p27 = Pin(27, Pin.IN)
p28 = Pin(28, Pin.IN)
thermistor28 = machine.ADC(p28)
thermistor27 = machine.ADC(p27)
Now, both firmware versions adc functions work equally for my sensors.
My apologies to you for alerting this forum that I had an issue that I documented on Github but then not responding here but only on github.
Scruss, yes, you were initially correct in that I did first load Pico firmware instead of Pico W firmware. That caused many errors.
And I should have put my code here as well. I will do that, but the code will be the new modified code that works now.
I am happy to say that that the problem was solved by robert-hh on Github. Here is the solution to my sensor errors that occurred only because I upgraded my firmware from v1.20.0 to v1.22.1.
The original code:
>>>
thermistor28 = machine.ADC(28)
thermistor27 = machine.ADC(27)
>>>
robert-hh suggestion on GitHub was used to modify code
modified code:
>>>
p27 = Pin(27, Pin.IN)
p28 = Pin(28, Pin.IN)
thermistor28 = machine.ADC(p28)
thermistor27 = machine.ADC(p27)
Now, both firmware versions adc functions work equally for my sensors.
Statistics: Posted by shore — Wed Jan 24, 2024 3:21 pm