Skip to menu

Robotics with Object Pascal

ESP32-S3 super mini experience

Formating output

2025.04.27 19:53

me Views:652

  // Predefined "char s[100];" // for formatted output using sprintf
  // accel in g, gyro in deg/s, mag in µTesla, temp in °C
  sprintf(s, "<I-AGMT:%6.3f, %6.3f, %6.3f, %7.2f, %7.2f, %7.2f, %6.2f, %6.2f, %6.2f, %5.1f>",
     gValue.x, gValue.y, gValue.z,
     gyr.x, gyr.y, gyr.z,
     magValue.x, magValue.y, magValue.z, temp);
  Serial.println(s);

Formating_Output.png

 

 

No. Subject Author Date Views
Notice For the first time user of ESP32-S3 super mini users. me 2025.04.25 930
16 Other Approach proposed by Gemini me 2025.10.02 153
15 Data Route me 2025.10.02 167
14 Extra Hardware Serial + JSON servo control file me 2025.09.22 206
13 Wheel Arc movement with continous servos file me 2025.09.21 212
12 3 Servo Test file me 2025.09.21 187
11 Object Pascal App getting data from ESP32-S3 (Parsing) file me 2025.04.29 638
10 Sound Sensor Test file me 2025.04.27 654
9 Laser distance sensor VL53L0X file me 2025.04.27 684
8 9DOF : Getting Pitch & Roll with ICM20948 v2 file me 2025.04.27 668
» Formating output file me 2025.04.27 652
6 Blinking Built-in RGB without delay() me 2025.04.25 4267
5 Built-in RGB led Demo me 2025.04.25 760
4 Servo Demo me 2025.04.25 643
3 HMC5883L Compass demo file me 2025.04.25 705
2 I2C Address Search file me 2025.04.25 699
1 Serial Sample (ASCII Table) file me 2025.04.25 737