tomstewart89 / vector Goto Github PK
View Code? Open in Web Editor NEWA simple vector library for arduino
License: MIT License
A simple vector library for arduino
License: MIT License
I push a uint8_t to the vector, but miss some data when i try to read it.
#include <Vector.h>
Vector<uint8_t *> vector;
void setup()
{
Serial.begin(115200);
uint8_t v[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09};
vector.PushBack(v);
for (int i = 0; i < vector.Size(); i++)
{
uint8_t *e = vector[i];
Serial.println(sizeof(e));
// print 4
for (int j = 0; j < sizeof(e); j++)
{
Serial.printf("%02x", e[j]);
}
// print 01020304
}
}
void loop()
{
}
Hello,
Is-it possible to use String type with Vector lib. ?
Vector<String> strVect;
doesn't make an issue, but when I use
strVect.PushBack("Hello");
that reboot my esp32.
Thank's
Hi tomstewart89. First and foremost, thanks for sharing your code, however, it produces an error when compiling to the Arduino board.
At first, I was integrating your library in my code and it was not working, hence I thought it something I was doing wrong. Be as it may, testing your basic usage example results in the same error.
Could you possibly provide any help?
Yours sincerely,
jschpinto
All said in the title :)
This library does not have a license associated with it. Could you add one to clarify what we are allowed to do?
I noticed many of your projects have the MIT license. Did you forget to add one to this project?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.