Easy IO

Function Description

I/O pin configuration.

analog read pin Read pin analog value

analog write pin duty Set duty cycle to the specified pin

digital read Value Read pin digital value

digital toggle pin Toggle pin value

map from low from high to low to high Map values to a range proportionally

Instructions

Get the temperature value of the sensor to map the temperature to 0-100.

On This Page