33 lines
439 B
C
33 lines
439 B
C
/*****
|
|
* Copyright (c) 2024 - Poivron Robotique
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#include "pico/stdlib.h"
|
|
#include "Teleplot.h"
|
|
#include <stdio.h>
|
|
|
|
void setup(void);
|
|
void loop(void);
|
|
|
|
void main(void)
|
|
{
|
|
setup();
|
|
while(1){
|
|
loop();
|
|
}
|
|
}
|
|
|
|
void setup(void){
|
|
stdio_init_all();
|
|
Teleplot_init();
|
|
}
|
|
|
|
void loop(void){
|
|
printf("Exemple\n");
|
|
|
|
Teleplot_add_variable_int("t", 2);
|
|
Teleplot_envoie_tampon();
|
|
|
|
sleep_ms(1000);
|
|
} |