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

PID_RelayOutput.ino needs to set 'pinMode(RelayPin, OUTPUT);'? #8

Open
abetusk opened this issue Jun 28, 2013 · 2 comments
Open

PID_RelayOutput.ino needs to set 'pinMode(RelayPin, OUTPUT);'? #8

abetusk opened this issue Jun 28, 2013 · 2 comments

Comments

@abetusk
Copy link

abetusk commented Jun 28, 2013

Does the 'RelayPin' the PID_RelayOutput.ino example need to be set to output in the 'setup' function?

@sjunnesson
Copy link

I had the same issue when trying this example. should be a

pinMode(RelayPin,OUTPUT);

@kelna2
Copy link

kelna2 commented May 25, 2014

I ran into the same thing. Wish I had thought to look here instead of trying to trouble shoot it for the past couple hours.

like sjunnesson said, simple fix just add:
pinMode(RelayPin, OUTPUT);

drf5n pushed a commit to drf5n/Arduino-PID-Library that referenced this issue Mar 21, 2023
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

3 participants