Arduino Function: comparator.status()

Name

status

Description

This function indicates if the voltage is higher or lower than the reference

Syntax

comp.status()

Parameters

void

Returns

 1 if higher - 0 if lower

Written by arduino.org