zephyrproject-rtos / gsoc-2022-arduino-core

Arduino Core Zephyr Module (GSoC 2022 Project)
Apache License 2.0
44 stars 11 forks source link

zephyrSerial: Add more print variants #39

Closed DhruvaG2000 closed 2 years ago

DhruvaG2000 commented 2 years ago

This variant is capable of printing numbers and according to the base parameter. For eg. Serial.print(78, DEC) will print the decimal equivalent of 78 and Serial.print(78, HEX) will print HEX and so on.

Solves https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core/issues/38