Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
297 B
1
Indexable
Never
/* C wrapper functions for the RP2040 SDK
* Incline functions gpio_set_dir and gpio_put.
*/
#include "hardware/gpio.h"
ChaPTEr 8 InTEraCTInG wITh C anD ThE SDK
153
void link_gpio_set_dir(int pin, int dir)
{
gpio_set_dir(pin, dir);
}
void link_gpio_put(int pin, int value)
{
gpio_put(pin, value);
}
Leave a Comment