michalmonday / CSV-Parser-for-Arduino

It turns CSV string into an associative array (like dict in python)
MIT License
58 stars 12 forks source link

Update README.md #13

Closed zam264 closed 2 years ago

zam264 commented 2 years ago

There was a bug where the call to cp.GetRowsCount() was incorrectly using an uppercase G rather than a lowercase g. This causes the error below. I fixed this to be cp.getRowsCount().

C:\Users\zam26\Documents\Code\Arduino\Projects\SunriseSunset\SunriseSunset.ino: In function 'void setup()':
SunriseSunset:47:26: error: 'class CSV_Parser' has no member named 'GetRowsCount'; did you mean 'getRowsCount'?
   for (int i = 0; i < cp.GetRowsCount(); i++) {
                          ^~~~~~~~~~~~
                          getRowsCount
exit status 1
'class CSV_Parser' has no member named 'GetRowsCount'; did you mean 'getRowsCount'?
michalmonday commented 2 years ago

Hello, thank you for fixing that.