Art_deplacer_robot/main.c

30 lines
406 B
C
Raw Permalink Normal View History

2023-10-22 16:48:14 +00:00
/*****
* Copyright (c) 2024 - Poivron Robotique
2023-10-22 16:48:14 +00:00
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "pico/stdlib.h"
#include "Teleplot.h"
2023-10-22 16:48:14 +00:00
#include <stdio.h>
void setup(void);
void loop(void);
2023-10-22 16:48:14 +00:00
void main(void)
{
setup();
2023-10-22 16:48:14 +00:00
while(1){
loop();
2023-10-22 16:48:14 +00:00
}
}
void setup(void){
stdio_init_all();
Teleplot_init();
}
void loop(void){
printf("Exemple\n");
teleplot_udp_send_string("t:2");
sleep_ms(1000);
}