MCPcopy Create free account
hub / github.com/Michael-Manning/E-Paper-Climate-Logger / setPinLevel

Function setPinLevel

firmware/src/platform.cpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void setPinLevel(int pin, uint32_t level){
42 gpio_set_level(static_cast<gpio_num_t>(pin), level);
43 }
44
45 int getPinLevel(int pin){
46 return gpio_get_level(static_cast<gpio_num_t>(pin));

Callers 3

HibernateSystemFunction · 0.85
ShutdownSystemFunction · 0.85
LatchOnOffControllerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected