Function schedule_toggle

Function Documentation

void schedule_toggle(const DataPacket *data)

Schedule a pin toggle event from a data packet.

Creates and schedules a pin toggle event based on the provided data packet. The pin will be toggled at the specified time.

Parameters:

data – Pointer to the data packet containing pin parameters