Function set_pin_event_func

Function Documentation

void set_pin_event_func(uint32_t arg1_pin_idx, uint32_t arg2)

Event function for setting a pin level.

Event callback function that sets the level of the specified pin. This function is used internally by the event system.

Parameters:
  • arg1_pin_idx – IOPORT index of the pin to set (see pin_map_t in pins.cpp for pin names)

  • arg2Pin level to set (0=low, 1=high)