Read some C++ pages and thought I assembled my sketch to read the muxed sensors based on your links. I got 26 errors (YIKES). I checked spelling and spacing and they were OK.
This is my program with comments on what each line does.
tca9548a_and_2_AHT10.ino (2.2 KB)
Any suggestions?
Jim
Also, read more of the C++ and tried to use the Arduino IDE to execute C++ examples but could not compile. I assumed that I could use either c++ or Arduino language but could not find any way to change the language to C++. I assumed that I could use C++ as the programming language based on what you said earlier:
"One of the things that is not well documented is that Arduino Programming Language is essentially just C++, and any valid C++ is also valid Arduino language (though the opposite is not true). So you will be well served in your Arduino endeavors by studying the C++ programming language."
I will continue to slug through the tutorial and maybe be enlightened on some of the unreferenced stuff about librarys like "public", "private" etc and where to get my functions and arguments from.
Thanks
Jim