Please help!
Error report.txt (14.7 KB)
Please help!
Error report.txt (14.7 KB)
Which ports? If you are referring to the Arduino ports on the processor chip, look at the data sheet for the processor (have coffee handy - those sheets can put you to sleep). They go into intimate detail as to what the ports are, how they function, the ratings (current) etc.. See THIS PAGE to links for the 328P data sheet. If you are referring to ports as in the TCP network world, that is a different issue. You need to specify exactly what you are talking about.
Looks to me like there's a problem with how you included and/or installed the libraries but hard to say since you've posted so little info.
To other posters - in the error log he posted it's reporting all sorts of things that look like something that should be defined in a library. The bit about ports is just because that happened to be the name of the last of dozens of not-defined-in- this-scope errors.
In my installation, (V1.6.5), 'TOTAL_PORTS' and 'TOTAL_PINS' are defined in the "Boards.h" file in the "Firmata" library.
'reportPINS' and 'portConfigInputs' are defined in the "StandardFirmata.ino" file, not in my installation, but available here:- arduino/StandardFirmata.ino at main · firmata/arduino · GitHub
I didn't check further, but I'm sure you'll find anything else in the same files.
Edit: You'll need to post your full code, (between code tags), if you want further help with the problem.