struct pins
{
int uno;
float mega;
float esp32;
int torf;
};
void setup() {
Serial.begin(115200);
struct pins s1 = {13,13.53,24.25,10};
struct pins s2;
s2.uno=7;
s2.mega=10.11;
s2.esp32=24.26;
s2.torf=1; //torf meaning of -> true or false true=1 false=0 idk=10
Serial.printf("pins digital uno: %d , mega : %f esp32: %f torf: %d \n",s1.uno,s1.mega,s1.esp32,s1.torf);
Serial.printf("pins analog uno: %d , mega : %f esp32: %f torf: %d \n",s2.uno,s2.mega,s2.esp32,s2.torf);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}