Questions tagged [vector]
The vector tag has no summary.
11 questions
0
votes
1
answer
342
views
Accessing funcition in object via `->` is crashing (resetting) Arduino
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 ...
0
votes
3
answers
156
views
Is it possible to insert your own routine into the Reset procedure
I'm working with ATmega328 NANO boards, and I would like to know if it is possible to INSERT my own routine, to be included in the things done during reset, BEFORE any pre-C initialization is done, ...
1
vote
1
answer
1k
views
How to declare a Dynamic Array?
I want to define an unknown size for an array. However, I know that this cannot be done on the arduino. So what other methods do you suggest? I tried using vectors by downloading the library ...
1
vote
2
answers
792
views
arrange vector in descending order
im trying to arrange the vector in descending order but its not happening..
int fibonacci[15]={0, 1};
int a=0;
void setup() {
Serial.begin(9600);
for (int i=0; i<=14; i++) //loop to create ...
0
votes
3
answers
3k
views
Building a Vector class in Arduino
I'm struggling with this issue that I can seem to get around of.
When defining a vector class, I'm seeming to get some issues when deleting the allocated pointer.
Oddly enough, this only happens ...
0
votes
1
answer
873
views
AVR-STL Library
I have a project that I need to use a vector, I have tried to get several libraries to compile with out luck. The one that has gotten the closest is Andy Brown's AVR-STL. I keep getting the error:
C:...