Function schedule_pulse(const DataPacket *, bool)

Function Documentation

void schedule_pulse(const DataPacket *data, bool is_positive)

Schedule a pulse event from a data packet.

Creates and schedules a pulse event based on the provided data packet. The pulse will be generated on the pin specified in the data packet.

Parameters:
  • data – Pointer to the data packet containing pulse parameters

  • is_positive – If true, generate positive pulse; if false, negative pulse