Sorry for the noob questions.
I dont understand how to integrate libraries into my sketch.
For example, I want to have an ambient light sensor to start a stepper motor at dusk, then stop it at dawn.
How are the pins allocated, are they preset in the library for each unit and if so where do I find this info to wire it in?
I have used the basics to flash LED and operate the stepper motor at different speeds and stopping at various angles, but
I cant get my head around theses libraries.
Any help will be very welcome,
Regards Ant.
Don't need a library.
Take your flashing LED sketch and make it work with a different pin.
Same with your stepper motor sketch.
Now use the ambient light sensor on one pin and the stepper motor on the other and you're done.