I am ripping my hair out.
Someone please tell me what I don't have right.
I have
I have attached the sketch.
sketch_aug12a.ino (551 Bytes)
I am ripping my hair out.
Someone please tell me what I don't have right.
I have
I have attached the sketch.
sketch_aug12a.ino (551 Bytes)
Now you have only one error.
sketch_aug12a.ino (548 Bytes)
In this:
// Power Stop Software Written by: William Cox 7/31/2015
// Creat all constants & requirements
#include <LiquidCrystal.h> // Include the LCD library code
#include <Stepper.h> // Include the Stepper Library
#define homePin 6 // Define home as pin 6
// Constant for the Home Switch Pin
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // initialize the LCD library with the interface numbers
void setup() {
pinMode(homePin, INPUT); }
void loop() {
}
you have no errors. Can you see the differences?
#include <LiquidCrystal.h> // Include the LCD library code
#include <Stepper.h>; // <------- No semicolon needed
#define homePin = 6; // <------- No semicolon needed
pinMode(homePin, INPUT) // <------- In the wrong place and semicolon needed
void setup() {
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); // initialize the LCD library with the interface numbers
pinMode(homepin, Input) // <------- Semicolon needed and Input in wrong case
}
void loop() {
}
#define homePin = 6; // <------- No semicolon needed
No equal sign, either.
I thank all of you for your help. I am still learning at a rapid pace. Credit to all of you who assisted.
I am not sure how but the Topic can be closed.
To "close" the topic edit the first post and change the subject to "[SOLVED]...".
luisilva:
To "close" the topic edit the first post and change the subject to "[SOLVED]...".
Please just ADD the word "[SOLVED]" without deleting the rest of the title.
If you delete the title other readers will not know what it was about.
...R