printf and scanf examples for Microcontrollers

 

Nerd Kits has made an interesting example video showing us how to use C printf and scanf commands.

"Programming in C can be a daunting task for a beginner, especially when new programming languages like Python make it so easy to accomplish basic tasks. Taking input from the user, and displaying data back to the user in a human readable format is one of those things in C that can be tricky if you haven’t done it before. This idea of displaying and reading data in human readable formats becomes especially important in embedded electronics since there often many different ways in which data is represented to the user (over LCDs, or through serial ports). Many times we even use these common input output ideas to transfer data from microcontrollers to PC computer programs, or between different embedded systems."

2 Comments


  1. This is what you get when lazy, fat arsed idiots let lead the field in programming languages!
    You can call me old school, but in a “real” language, what is the problem?
    Oh, for the old days when we Pascal programmers were not fossils!


Comments are closed.