/*
 * LAB Name: Raspberry Pi Pico Serial Plotter (C/C++ SDK)
 * Author: Khaled Magdy
 * For More Info Visit: www.DeepBlueMbedded.com
*/
#include <stdio.h>
#include "pico/stdlib.h"
#include "math.h"

#define PI 3.1415926
int i = 0;

int main() 
{
    stdio_init_all();
    while (1) 
    {
        for (i = 0; i < 360; i += 1) 
        {
            float Sine1 = 100 * sin(i * PI / 180);
            float Sine2 = 75 * sin((i+120) * PI / 180);
            float Sine3 = 50 * sin((i+240) * PI / 180);
            printf("%f,%f,%f\n", Sine1, Sine2, Sine3);
            sleep_ms(10);
        }     
    }
}
$abcdeabcde151015202530354045505560fghijfghij
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT