mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
move embedded tutorials out of protocol tree
This commit is contained in:
1 parent
338756d0b0
commit
8fc5651044
287 files changed
+720
-267
No files matched your search
@@ -0,0 +1,11 @@
|
||||
// Copyright (c) 2023 Cesanta Software Limited
|
||||
// All rights reserved
|
||||
|
||||
#define LED PICO_DEFAULT_LED_PIN
|
||||
|
||||
static inline int gpio_read(uint16_t pin) {
|
||||
return gpio_get_out_level(pin);
|
||||
}
|
||||
static inline void gpio_write(uint16_t pin, bool val) {
|
||||
gpio_put(pin, val);
|
||||
}
|
||||
Reference in new issue
Block a user