great
I test I have now in my multimeter 5khz with 200µS,
I noobs in C i would test this code:
my led in not blink , how I must write test "char" ? the compilation dans uplaod programme is not fail with my debug prob ?
I noobs in C i would test this code:
Code:
#include "pico/stdlib.h"int main(){ const uint LED_PIN = 0; // GPIO25 gpio_init(LED_PIN); gpio_set_dir(LED_PIN, GPIO_OUT); signed char toto[] = "ok"; while (true) { if (toto == "ok") { gpio_put(LED_PIN, 1); sleep_us(100); gpio_put(LED_PIN, 0); sleep_us(100); } }}Statistics: Posted by keokod — Sat Nov 30, 2024 2:33 pm