Custom Library Question

I have created a simple library to test out my understanding. I have a folder called Box which contains Box.h, Box.cpp, and keywords.txt. In my sketchbook I have UserCodeTry2.ino. It compiles and runs successfully.

I defined a few functions that the user can access. I need to be able to call other functions from within these functions that the user cannot access. How do I add variables and functions that are only used by these secondary functions?

Thanks in advance,


Box.cpp (567 Bytes)

Box.h (255 Bytes)

keywords.txt (68 Bytes)

UsersCodeTry2.ino (425 Bytes)

Make them private:


Thanks for getting me back on track!


You're welcome. I'm glad if I was able to be of assistance. Enjoy!