quick ADC1 Test under Eclipse & VM Lubuntu
Re: quick ADC1 Test under Eclipse & VM Lubuntu
But where is adc1_read? ROM function not provided?
Re: quick ADC1 Test under Eclipse & VM Lubuntu
btw:WiFive wrote:But where is adc1_read? ROM function not provided?
Add the ADC class in the machine module
Code: Select all
from machine import ADC
adc = ADC(0)
adc_c = adc.channel(pin='P13')
adc_c()
adc_c.value()
not found just in time in c code - we must search
( each lib expand and searching in txt file )
but
OnSoC Temperature Sensor found and runs: best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: quick ADC1 Test under Eclipse & VM Lubuntu
Oh I see it is in librtc.a. Check map file.
Who is online
Users browsing this forum: No registered users and 288 guests