@
camerart
This is an aside on block based / visual programming.
There are a number of block programmers developed for folks that learn in visual fashion.
MIT with its Scratch, mBlock, Snap4arduino, Flowcode, Nodered, Visuino, Tuniot.....
Here is an example of what a simple voltage to pulse width converter looks like (just 5 blocks) :
You take blocks out of second window, place them in design area (3'rd window),
configure them, and then hit the connect button and mBlock generates C/C++
code and then uses the Arduino IDE programmer to program the target board/part.
The rightmost window is Arduino C/C++ code that mBlock generates from your block
configuration.
I am not advocating this as a way to learn C, rather an adjunct to easily program
simple designs and be able to look at what C/C++ code looks like. Its not optimal
code by any stretch but for simple one off projects fast to get something going.
Some examples :
Often users, developers, hobbyists need timed and qualified event generators, many resorting to 555 timers and the like. The venerable 555 has had a long run but its limited in accuracy and capability. This approach uses block language to create...
www.electro-tech-online.com
Micro design has for years relied on ASM and C programming and other languages. Often many tasks are fairly simply but these tools were focused and quite a learning curve, especially ASM and C and C++. There are a number of new GUI based tools that essentially take out the "strong typing"...
Had a problem where I need low cost Network, internet access, at a remote site. Choose to work with Verizon 8800L as it got good reviews for normal attended usage. Motivation was Cell internet only added < $ 20 to the monthly bill. Problems ...
www.electro-tech-online.com
Flow code is done with a flowchart like interface (multiple ways, mix and match) :
A number of folks experimenting with ChatGPT and other AI programs to generate code. Its a
new world in which complex ideas are getting whittled down into simple code methods. C/C++
was/is a strongly typed language, meaning its exact at how you enter and code with it, not forgiving,
"do it my way or die" type language. These new languages are born out of that and making simple
designs a lot easier. Talking voltmeter above link great example of a complex design reduced to
simple block approach.
C/C++, Python, still the "professional" methods, but block and AI catching up rapidly.
Have some fun, try it out on the simple stuff.
Regards, Dana.