This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Logging battery amps
#47
So this is really old thread and I forgot about this, but went on with it. Apparently stuff has changed since 2019/2021 and when I try to compile this I get:

In file included /ArduinoINA219/INA219.h:213:13: error: expected ',' or '...' before 'bool'
  213 |            bool stop = true // false if the i2c bus should not be released.
      |            ^~~~
In file included from /ConstantCurrent/variables.h:42:14: error: 'D0' was not declared in this scope; did you mean 'A0'?
  42 | int pwmPin = D0;
      |              ^~
      |              A0

exit status 1

Compilation error: 'D0' was not declared in this scope; did you mean 'A0'?

Anyone has any guesses what' going on?

EDIT: Used 5 year old github repo and managed to get rid of that mistake, D0-A0 is still a mystery. When changed, it passes debug.
Reply


Messages In This Thread
Logging battery amps - by PaddyB - 2018-08-31, 12:58 PM
RE: Logging battery amps - by Saqqara - 2018-08-31, 08:40 PM
RE: Logging battery amps - by PaddyB - 2018-08-31, 08:43 PM
RE: Logging battery amps - by Saqqara - 2018-08-31, 10:20 PM
RE: Logging battery amps - by SkipperEarly - 2018-09-01, 08:09 AM
RE: Logging battery amps - by PaddyB - 2018-09-01, 12:02 PM
RE: Logging battery amps - by keithwhite - 2018-09-14, 06:16 PM
RE: Logging battery amps - by PaddyB - 2018-09-14, 09:55 PM
RE: Logging battery amps - by keithwhite - 2018-09-15, 03:28 PM
RE: Logging battery amps - by gypsylyon - 2018-10-17, 10:31 PM
RE: Logging battery amps - by technopolitan_ - 2019-02-18, 03:52 PM
RE: Logging battery amps - by svtgd - 2019-03-01, 05:31 PM
RE: Logging battery amps - by quetzal - 2019-03-06, 12:31 PM
RE: Logging battery amps - by topodom - 2019-03-07, 10:36 PM
Logging battery amps - by svtgd - 2019-03-09, 04:28 PM
RE: Logging battery amps - by topodom - 2019-03-10, 05:46 PM
RE: Logging battery amps - by PaddyB - 2019-03-10, 08:34 PM
RE: Logging battery amps - by topodom - 2019-03-10, 09:14 PM
RE: Logging battery amps - by baltika_no_9 - 2019-03-16, 08:31 PM
RE: Logging battery amps - by PaddyB - 2019-04-02, 06:46 PM
RE: Logging battery amps - by baltika_no_9 - 2019-04-06, 12:43 PM
RE: Logging battery amps - by AliceJ21 - 2019-04-13, 03:04 PM
RE: Logging battery amps - by PaddyB - 2019-04-13, 04:46 PM
Logging battery amps - by AliceJ21 - 2019-04-13, 05:04 PM
RE: Logging battery amps - by PaddyB - 2019-04-13, 05:25 PM
Logging battery amps - by AliceJ21 - 2019-04-18, 08:32 PM
RE: Logging battery amps - by PaddyB - 2019-04-23, 02:11 PM
Logging battery amps - by AliceJ21 - 2019-04-23, 02:41 PM
RE: Logging battery amps - by PaddyB - 2019-04-23, 03:53 PM
Logging battery amps - by AliceJ21 - 2019-05-07, 04:54 PM
RE: Logging battery amps - by e-sailing - 2019-05-08, 10:16 AM
RE: Logging battery amps - by PaddyB - 2019-05-08, 10:22 AM
RE: Logging battery amps - by Saqqara - 2019-06-01, 03:26 AM
RE: Logging battery amps - by svkatielee - 2019-06-18, 12:53 PM
RE: Logging battery amps - by ddelorme - 2020-01-31, 03:19 PM
RE: Logging battery amps - by PaddyB - 2020-02-01, 11:38 AM
RE: Logging battery amps - by ddelorme - 2020-02-01, 02:34 PM
RE: Logging battery amps - by ddelorme - 2020-02-09, 02:45 AM
RE: Logging battery amps - by affinite - 2020-11-14, 11:25 AM
RE: Logging battery amps - by PaddyB - 2020-11-14, 12:50 PM
RE: Logging battery amps - by affinite - 2020-11-14, 06:34 PM
RE: Logging battery amps - by Tuomas_S - 2021-05-09, 08:30 PM
RE: Logging battery amps - by PaddyB - 2021-05-09, 09:20 PM
RE: Logging battery amps - by Max1947 - 2021-05-10, 09:49 AM
RE: Logging battery amps - by PaddyB - 2021-05-10, 10:44 AM
RE: Logging battery amps - by Tuomas_S - 2021-05-10, 05:31 PM
RE: Logging battery amps - by Tuomas_S - 2023-06-07, 02:47 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)