Skip to content

enhancement: more print format constants defined; function printNumber(..) adapted.#621

Open
TobiasKnauss wants to merge 1 commit intoarduino:masterfrom
TobiasKnauss:master
Open

enhancement: more print format constants defined; function printNumber(..) adapted.#621
TobiasKnauss wants to merge 1 commit intoarduino:masterfrom
TobiasKnauss:master

Conversation

@TobiasKnauss
Copy link
Copy Markdown

  • HEX2, HEX4, HEX8
  • BIN2, BIN4, BIN8, BIN16, BIN32

The number represents the minimum digit count for printing, i.e. adding leading zeros.

This enhancement was inspired by https://forum.arduino.cc/t/serial-print-value-hex/463868/5

It can be tested with the code example from https://docs.arduino.cc/language-reference/en/functions/communication/serial/print/ enhanced like this:

/*
  Uses a for loop to print numbers in various formats.
*/
void setup()
{
  Serial.begin(9600); // open the serial port at 9600 bps:
}

void loop()
{
  // print labels
  Serial.print("NO FORMAT"); // prints a label 
  Serial.print("\t"); // prints a tab
  Serial.print("DEC"); 
  Serial.print("\t");
  Serial.print("HEX"); 
  Serial.print("\t");
  Serial.print("HEX2"); 
  Serial.print("\t");
  Serial.print("HEX4"); 
  Serial.print("\t");
  Serial.print("HEX8"); 
  Serial.print("\t\t");
  Serial.print("OCT"); 
  Serial.print("\t");
  Serial.print("BIN");
  Serial.print("\t");
  Serial.print("BIN2");
  Serial.print("\t");
  Serial.print("BIN4");
  Serial.print("\t");
  Serial.print("BIN8");
  Serial.print("\t\t");
  Serial.print("BIN16");
  Serial.print("\t\t\t");
  Serial.print("BIN32");
  Serial.println(); // carriage return after the last label
  for (int x = 0; x < 64; x++)
  { // only part of the ASCII chart, change to suit
    // print it out in many formats:
    Serial.print(x); // print as an ASCII-encoded decimal - same as "DEC" 
    Serial.print("\t\t"); // prints two tabs to accomodate the label length
    Serial.print(x, DEC); // print as an ASCII-encoded decimal 
    Serial.print("\t"); // prints a tab
    Serial.print(x, HEX); // print as an ASCII-encoded hexadecimal 
    Serial.print("\t"); // prints a tab
    Serial.print(x, HEX2); // print as an ASCII-encoded hexadecimal 
    Serial.print("\t"); // prints a tab
    Serial.print(x, HEX4); // print as an ASCII-encoded hexadecimal 
    Serial.print("\t"); // prints a tab
    Serial.print(x, HEX8); // print as an ASCII-encoded hexadecimal 
    Serial.print("\t"); // prints a tab
    Serial.print(x, OCT); // print as an ASCII-encoded octal 
    Serial.print("\t"); // prints a tab
    Serial.print(x, BIN); // print as an ASCII-encoded binary 
    Serial.print("\t"); // prints a tab
    Serial.print(x, BIN2); // print as an ASCII-encoded binary 
    Serial.print("\t"); // prints a tab
    Serial.print(x, BIN4); // print as an ASCII-encoded binary 
    Serial.print("\t"); // prints a tab
    Serial.print(x, BIN8); // print as an ASCII-encoded binary 
    Serial.print("\t"); // prints a tab
    Serial.print(x, BIN16); // print as an ASCII-encoded binary 
    Serial.print("\t"); // prints a tab
    Serial.println(x, BIN32); // print as an ASCII-encoded binary 
    // then adds the carriage return with "println"
    delay(200); // delay 200 milliseconds
  }
  Serial.println(); // prints another carriage return
}

- HEX2, HEX4, HEX8
- BIN2, BIN4, BIN8, BIN16, BIN32
The number represents the minimum digit count for printing, i.e. adding leading zeros.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 23, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Copy Markdown

Memory usage change @ 41883e6

Board flash % RAM for global variables %
arduino:avr:LilyPadUSB 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:atmegang:cpu=atmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:atmegang:cpu=atmega8 🔺 0 - +64 0.0 - +0.89 0 - 0 0.0 - 0.0
arduino:avr:bt:cpu=atmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:bt:cpu=atmega328 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:chiwawa 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:circuitplay32u4cat 🔺 0 - +64 0.0 - +0.22 0 - 0 N/A
arduino:avr:diecimila:cpu=atmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:diecimila:cpu=atmega328 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:esplora 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:ethernet 🔺 0 - +64 0.0 - +0.2 0 - 0 0.0 - 0.0
arduino:avr:fio 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:gemma 0 - 0 0.0 - 0.0 0 - 0 N/A
arduino:avr:leonardo 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:leonardoeth 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:lilypad:cpu=atmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:lilypad:cpu=atmega328 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:mega:cpu=atmega1280 🔺 0 - +64 0.0 - +0.05 0 - 0 0.0 - 0.0
arduino:avr:mega:cpu=atmega2560 🔺 0 - +64 0.0 - +0.03 0 - 0 0.0 - 0.0
arduino:avr:megaADK 🔺 0 - +64 0.0 - +0.03 0 - 0 0.0 - 0.0
arduino:avr:micro 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:mini:cpu=atmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:mini:cpu=atmega328 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:nano:cpu=atmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:nano:cpu=atmega328 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:nano:cpu=atmega328old 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:one 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:pro:cpu=16MHzatmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:pro:cpu=16MHzatmega328 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:pro:cpu=8MHzatmega168 🔺 0 - +64 0.0 - +0.45 0 - 0 0.0 - 0.0
arduino:avr:pro:cpu=8MHzatmega328 🔺 0 - +64 0.0 - +0.21 0 - 0 0.0 - 0.0
arduino:avr:robotControl 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:robotMotor 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:uno 🔺 0 - +64 0.0 - +0.2 0 - 0 0.0 - 0.0
arduino:avr:unomini 🔺 0 - +64 0.0 - +0.2 0 - 0 0.0 - 0.0
arduino:avr:unowifi 🔺 0 - +64 0.0 - +0.2 0 - 0 0.0 - 0.0
arduino:avr:yun 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
arduino:avr:yunmini 🔺 0 - +64 0.0 - +0.22 0 - 0 0.0 - 0.0
Click for full report table
Board libraries/EEPROM/examples/eeprom_clear
flash
% libraries/EEPROM/examples/eeprom_clear
RAM for global variables
% libraries/EEPROM/examples/eeprom_iteration
flash
% libraries/EEPROM/examples/eeprom_iteration
RAM for global variables
% libraries/EEPROM/examples/eeprom_update
flash
% libraries/EEPROM/examples/eeprom_update
RAM for global variables
% libraries/EEPROM/examples/eeprom_write
flash
% libraries/EEPROM/examples/eeprom_write
RAM for global variables
% libraries/EEPROM/examples/eeprom_crc
flash
% libraries/EEPROM/examples/eeprom_crc
RAM for global variables
% libraries/EEPROM/examples/eeprom_get
flash
% libraries/EEPROM/examples/eeprom_get
RAM for global variables
% libraries/EEPROM/examples/eeprom_put
flash
% libraries/EEPROM/examples/eeprom_put
RAM for global variables
% libraries/EEPROM/examples/eeprom_read
flash
% libraries/EEPROM/examples/eeprom_read
RAM for global variables
% libraries/SPI/examples/BarometricPressureSensor
flash
% libraries/SPI/examples/BarometricPressureSensor
RAM for global variables
% libraries/SPI/examples/DigitalPotControl
flash
% libraries/SPI/examples/DigitalPotControl
RAM for global variables
% libraries/Wire/examples/SFRRanger_reader
flash
% libraries/Wire/examples/SFRRanger_reader
RAM for global variables
% libraries/Wire/examples/digital_potentiometer
flash
% libraries/Wire/examples/digital_potentiometer
RAM for global variables
% libraries/Wire/examples/i2c_scanner
flash
% libraries/Wire/examples/i2c_scanner
RAM for global variables
% libraries/Wire/examples/master_reader
flash
% libraries/Wire/examples/master_reader
RAM for global variables
% libraries/Wire/examples/master_writer
flash
% libraries/Wire/examples/master_writer
RAM for global variables
% libraries/Wire/examples/slave_receiver
flash
% libraries/Wire/examples/slave_receiver
RAM for global variables
% libraries/Wire/examples/slave_sender
flash
% libraries/Wire/examples/slave_sender
RAM for global variables
% libraries/SoftwareSerial/examples/SoftwareSerialExample
flash
% libraries/SoftwareSerial/examples/SoftwareSerialExample
RAM for global variables
% libraries/SoftwareSerial/examples/TwoPortReceive
flash
% libraries/SoftwareSerial/examples/TwoPortReceive
RAM for global variables
%
arduino:avr:LilyPadUSB 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 60 0.21 0 0.0 0 0.0 0 0.0 60 0.21 0 0.0 64 0.22 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:atmegang:cpu=atmega168 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.4 0 0.0 60 0.42 0 0.0 0 0.0 0 0.0 60 0.42 0 0.0 64 0.45 0 0.0 0 0.0 0 0.0 62 0.43 0 0.0 0 0.0 0 0.0 58 0.4 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.43 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:atmegang:cpu=atmega8 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.81 0 0.0 60 0.84 0 0.0 0 0.0 0 0.0 60 0.84 0 0.0 64 0.89 0 0.0 0 0.0 0 0.0 62 0.86 0 0.0 0 0.0 0 0.0 58 0.81 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.86 0 0.0 0 0.0 0 0.0
arduino:avr:bt:cpu=atmega168 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.4 0 0.0 60 0.42 0 0.0 0 0.0 0 0.0 60 0.42 0 0.0 64 0.45 0 0.0 0 0.0 0 0.0 62 0.43 0 0.0 0 0.0 0 0.0 58 0.4 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.43 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:bt:cpu=atmega328 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 60 0.21 0 0.0 0 0.0 0 0.0 60 0.21 0 0.0 64 0.22 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:chiwawa 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 60 0.21 0 0.0 0 0.0 0 0.0 60 0.21 0 0.0 64 0.22 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:circuitplay32u4c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 0.0 0 0.0 60 0.21 0 0.0 64 0.22 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
arduino:avr:yunmini 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 60 0.21 0 0.0 0 0.0 0 0.0 60 0.21 0 0.0 64 0.22 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 58 0.2 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 62 0.22 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0
Click for full report CSV
Board,libraries/EEPROM/examples/eeprom_clear<br>flash,%,libraries/EEPROM/examples/eeprom_clear<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_iteration<br>flash,%,libraries/EEPROM/examples/eeprom_iteration<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_update<br>flash,%,libraries/EEPROM/examples/eeprom_update<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_write<br>flash,%,libraries/EEPROM/examples/eeprom_write<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_crc<br>flash,%,libraries/EEPROM/examples/eeprom_crc<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_get<br>flash,%,libraries/EEPROM/examples/eeprom_get<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_put<br>flash,%,libraries/EEPROM/examples/eeprom_put<br>RAM for global variables,%,libraries/EEPROM/examples/eeprom_read<br>flash,%,libraries/EEPROM/examples/eeprom_read<br>RAM for global variables,%,libraries/SPI/examples/BarometricPressureSensor<br>flash,%,libraries/SPI/examples/BarometricPressureSensor<br>RAM for global variables,%,libraries/SPI/examples/DigitalPotControl<br>flash,%,libraries/SPI/examples/DigitalPotControl<br>RAM for global variables,%,libraries/Wire/examples/SFRRanger_reader<br>flash,%,libraries/Wire/examples/SFRRanger_reader<br>RAM for global variables,%,libraries/Wire/examples/digital_potentiometer<br>flash,%,libraries/Wire/examples/digital_potentiometer<br>RAM for global variables,%,libraries/Wire/examples/i2c_scanner<br>flash,%,libraries/Wire/examples/i2c_scanner<br>RAM for global variables,%,libraries/Wire/examples/master_reader<br>flash,%,libraries/Wire/examples/master_reader<br>RAM for global variables,%,libraries/Wire/examples/master_writer<br>flash,%,libraries/Wire/examples/master_writer<br>RAM for global variables,%,libraries/Wire/examples/slave_receiver<br>flash,%,libraries/Wire/examples/slave_receiver<br>RAM for global variables,%,libraries/Wire/examples/slave_sender<br>flash,%,libraries/Wire/examples/slave_sender<br>RAM for global variables,%,libraries/SoftwareSerial/examples/SoftwareSerialExample<br>flash,%,libraries/SoftwareSerial/examples/SoftwareSerialExample<br>RAM for global variables,%,libraries/SoftwareSerial/examples/TwoPortReceive<br>flash,%,libraries/SoftwareSerial/examples/TwoPortReceive<br>RAM for global variables,%
arduino:avr:LilyPadUSB,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,58,0.2,0,0.0,60,0.21,0,0.0,0,0.0,0,0.0,60,0.21,0,0.0,64,0.22,0,0.0,0,0.0,0,0.0,62,0.22,0,0.0,0,0.0,0,0.0,58,0.2,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,62,0.22,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:avr:atmegang:cpu=atmega168,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,58,0.4,0,0.0,60,0.42,0,0.0,0,0.0,0,0.0,60,0.42,0,0.0,64,0.45,0,0.0,0,0.0,0,0.0,62,0.43,0,0.0,0,0.0,0,0.0,58,0.4,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,62,0.43,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:avr:atmegang:cpu=at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0,0.0,60,0.21,0,0.0,0,0.0,0,0.0,60,0.21,0,0.0,64,0.22,0,0.0,0,0.0,0,0.0,62,0.22,0,0.0,0,0.0,0,0.0,58,0.2,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,62,0.22,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0
arduino:avr:yunmini,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,58,0.2,0,0.0,60,0.21,0,0.0,0,0.0,0,0.0,60,0.21,0,0.0,64,0.22,0,0.0,0,0.0,0,0.0,62,0.22,0,0.0,0,0.0,0,0.0,58,0.2,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,62,0.22,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0

Copy link
Copy Markdown
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your pull request @TobiasKnauss!

Something important to understand is that the goal is for every Arduino boards platform to implement a standardized API, as described by the Arduino Language Reference:

https://docs.arduino.cc/language-reference/

Standardization is important for the sake of portability. If all cores implement a standardized API, then sketches and libraries that only use that API will work with every one of the diverse array of boards in the Arduino hardware ecosystem. Conversely, if we only implement a capability one core, then users will find that code utilizing that capability won't compile for boards of any other platform.

In order to facilitate standardization of cores, Arduino has created a reusable codebase that defines a standardized API, as well as provides the implementations of all components that are not architecture-specific:

https://github.com/arduino/ArduinoCore-API

You are proposing an expansion of the standardized core API. It is true that, if accepted, this should be implemented in the core of the "Arduino AVR Boards" platform hosted in this repository, but the same should also be done in the core of every other platform. For this reason, it is best to start by proposing the addition of the new capability in the arduino/ArduinoCore-API repository. If the maintainers of that project accept your proposal, then it will be clear that the introduction into the individual cores is appropriate.

So the procedure for proposing changes to the core API should be:

  1. Submission of proposal to the arduino/ArduinoCore-API repository.
  2. Review of proposal.
  3. Adjustment of proposal as needed to resolve review.
  4. Acceptance and implementation of proposal.
  5. Propagate change to cores.

This pull request is needed to complete the final step in that procedure, so it is valuable and appreciated. However, the other steps in the procedure must be completed first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants