Skip to main content

Questions tagged [object-oriented]

Filter by
Sorted by
Tagged with
0 votes
1 answer
342 views

I have several classes that call each other running on an Arduino Mega. I am using the ArduinoSTL library to get the std library, most notably the std::vector. The core problem is as follows: my ...
Mike's user avatar
  • 173
1 vote
2 answers
362 views

iam currently working on a new project, where i would like to detect the existence/closeness of several objects around the arduino up to like 1 meter. I was thinking about an rfid setup, but as the ...
sebbo111's user avatar
1 vote
1 answer
2k views

I am trying to create a basic snake game using the arduino UNO along with the MAX72XX module, the LCD module and the analog joystick module. I am wanting to program my program using object orientated ...
The_Indestructible_Cat's user avatar
2 votes
1 answer
4k views

My C++ is seriously out-of-date, and I'm working on a project that will be juggling multiple timed actions at the same time, with a menu system to manage the interface and control those timed actions (...
Duncan C's user avatar
  • 5,752
1 vote
1 answer
150 views

I'm new to C++ and arduino. I want to build an object Tree, but it did not behave like I expected. Here is the code: TreeNode.h class TreeNode { public: TreeNode(String inputNodeName); ...
jan's user avatar
  • 13
3 votes
1 answer
2k views

To the best of my understanding, when I declare String s = "This is a string."; what happens is that space is allocated on the stack for a pointer which points to some String object which internally ...
Samuel S's user avatar
2 votes
1 answer
1k views

I'm using several TM1637 displays to create timers, so I decided to make a Timer class. Every time I initialize an instance of the Timer class, I want it to create an instance of the TM1637Display ...
ahalekelly's user avatar