sq wave gen prog need help


Author Message
thetinkerer

Regular Member

Joined: 16/06/2011
Location: Australia
Posts: 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.