Content-Length: 264839 | pFad | https://github.com/mruby-esp32/mruby-esp32-adc

1D GitHub - mruby-esp32/mruby-esp32-adc: ADC library for mruby-esp32
Skip to content

mruby-esp32/mruby-esp32-adc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-esp32-adc

ADC library for mruby-esp32.

Installation

You need esp-idf v5.0 to use this mrbgems.

Add the line below to your build_config.rb:

  conf.gem :github => 'mruby-esp32/mruby-esp32-adc'

Examples

adc = ADC.new(ADC::CHANNEL_0)
value = adc.read_raw()

# If you want to use ADC_UNIT_2
adc = ADC.new(ADC::CHANNEL_0, unit: ADC::UNIT_2)
value = adc.read_raw()

LICENSE

MIT License.

About

ADC library for mruby-esp32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/mruby-esp32/mruby-esp32-adc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy