Syntax
#define PIN2CHANNEL(pin) vm_dcl_pin_to_channel(pin)
ContentsIndex
PreviousUpNext
PIN2CHANNEL
Syntax
#define PIN2CHANNEL(pin) vm_dcl_pin_to_channel(pin)
Description

Converts PIN to ADC channel ID.

Parameters
Parameters 
Description 
pin 
[IN] The PIN ID, like VM_PIN_P0/VM_PIN_P1... 
Returns

VMINT. The ADC channel ID of this PIN. If failed, it returns 0.

File

vmdcl.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.