Return to SDK Examples for Microchip Studio
36 ConnectorIO0.
Mode(Connector::OUTPUT_DIGITAL);
37 ConnectorIO1.
Mode(Connector::OUTPUT_DIGITAL);
38 ConnectorIO2.
Mode(Connector::OUTPUT_DIGITAL);
39 ConnectorIO3.
Mode(Connector::OUTPUT_DIGITAL);
40 ConnectorIO4.
Mode(Connector::OUTPUT_DIGITAL);
41 ConnectorIO5.
Mode(Connector::OUTPUT_DIGITAL);
49 ConnectorIO0.
State(
true);
50 ConnectorIO1.
State(
true);
51 ConnectorIO2.
State(
true);
52 ConnectorIO3.
State(
true);
53 ConnectorIO4.
State(
true);
54 ConnectorIO5.
State(
true);
57 ConnectorIO0.
State(
false);
58 ConnectorIO1.
State(
false);
59 ConnectorIO2.
State(
false);
60 ConnectorIO3.
State(
false);
61 ConnectorIO4.
State(
false);
62 ConnectorIO5.
State(
false);
66 outputState = !outputState;
void Delay_ms(uint32_t ms)
Blocks operations for ms milliseconds.
Definition SysTiming.h:287
int16_t State() override
Get connector's last sampled digital value.
virtual ConnectorModes Mode() override
Get the connector's operational mode.
Definition DigitalInOutAnalogOut.h:70
int16_t State() override
Get connector's last sampled value.
virtual ConnectorModes Mode() override
Get the connector's operational mode.
Definition DigitalInOutHBridge.h:124
virtual ConnectorModes Mode() override
Get the connector's operational mode.
Definition DigitalInOut.h:85
int16_t State() override
Get the connector's last majority-filtered sampled value.