| Author |
Message |
sparkey
 Senior Member
 Joined: 15/06/2011 Location: AustraliaPosts: 819 |
| Posted: 01:58pm 15 Jun 2011 |
|
|
|
ok if any body can help here..need either a small program to set one of the digital pins on and of as well as being to adust on time and off time..i`m guessing i need to use one of the digital pins on the headder i ;;;;;
or even steer me in the right direction "i am not really fimiliur with the hows and why`s of what the program lines are /or strings /and so on but once i know what i am looking at i will decipher from the mm..manual.....
thanks to all who reply regards sparkey technicians do it with least resistance |
|
thetinkerer
 Regular Member
 Joined: 16/06/2011 Location: AustraliaPosts: 68 |
| Posted: 07:51pm 15 Jun 2011 |
|
|
|
Hello Sparky,
you will need to
- configure a pin for output - SETPIN command
- set the pin high - PIN Command
- have a "on" delay
- set the pin low
- have another delay ("off" delay)
you could perhaps use the Setick to create a timed interrupt(equal on/off time)
May I suggest you sit down and read the manual from cover to cover so that you can familiarise yourself with all the commands.
|
|
sparkey
 Senior Member
 Joined: 15/06/2011 Location: AustraliaPosts: 819 |
| Posted: 08:12pm 15 Jun 2011 |
|
|
|
thank you regards sparkey i am no programmer expert but thanks for at least showing me a direction..and yes i will read the manual but its like if you dont have a start point then reading becomes teadious and might not be absorbed... technicians do it with least resistance |
|