Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the code #7

Open
mattd07 opened this issue Apr 27, 2021 · 1 comment
Open

Running the code #7

mattd07 opened this issue Apr 27, 2021 · 1 comment

Comments

@mattd07
Copy link

mattd07 commented Apr 27, 2021

When I compile the Pentair driver it does not want to compile and this is the following error.
In file included from C:\Users\Matt\Documents\Arduino\libraries\Pentair/Pentair.h:10:0,

             from C:\Users\Matt\Desktop\Arduino.Pentair-master (2)\Arduino.Pentair-master\pentair_driver_v2\pentair_driver_v2.ino:1:

C:\Users\Matt\Documents\Arduino\libraries\LinkedList/LinkedList.h: In instantiation of 'ListNode* LinkedList::getNode(int) [with T = unsigned char]':

C:\Users\Matt\Documents\Arduino\libraries\LinkedList/LinkedList.h:178:22: required from 'bool LinkedList::add(int, T) [with T = unsigned char]'

C:\Users\Matt\Desktop\Arduino.Pentair-master (2)\Arduino.Pentair-master\pentair_driver_v2\pentair_driver_v2.ino:63:1: required from here

C:\Users\Matt\Documents\Arduino\libraries\LinkedList/LinkedList.h:160:9: error: cannot convert 'bool' to 'ListNode*' in return

return false;

     ^~~~~

Using library Pentair in folder: C:\Users\Matt\Documents\Arduino\libraries\Pentair (legacy)
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial
Using library LinkedList at version 1.2.3 in folder: C:\Users\Matt\Documents\Arduino\libraries\LinkedList
exit status 1
Error compiling for board Arduino Uno.

@Zuntara
Copy link
Owner

Zuntara commented Aug 18, 2021

I did not test the UNO board, but it seems like you have a different implementation of LinkedList for some reason, at first sight...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants