12.07.2015 Views

PICAXE Manual Section 1 - TechnoPujades - Free

PICAXE Manual Section 1 - TechnoPujades - Free

PICAXE Manual Section 1 - TechnoPujades - Free

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

www.picaxe.co.uk<strong>Section</strong> 1 53GETTING STARTEDFlowchart, Logic or BASIC?The Programming Editor software supports both textual BASIC programmingand graphical flowchart and graphical logic gate programming.The Logicator for PIC micros software provides a graphical flowchart method ofprogramming. It is widely used within schools.All programming methods use the same BASIC commands and syntax. Theflowchart method simply provides a graphical way of joining the BASICcommands together, to save typing in programs. Flowcharting uses a smaller subsetof the BASIC commands, and is generally used by younger students in theeducational environment.The logic method is designed for use in schools to teach students the function ofbasic logic gates (AND, OR etc). It is a simple introduction and not designed forcomplex projects.One advantage of flowchart programming is the graphical on-screen simulation.This allows students to ‘see’ their program in operation before downloading tothe <strong>PICAXE</strong>. However only certain commands are supported by the flowcharteditor.Most hobbyist and experienced educational users prefer the textual BASICmethod of programming. It is much more powerful than flowcharts, which canbecome very complicated for large programs.All flowcharts are automatically converted into BASIC programs prior todownload to the <strong>PICAXE</strong> microcontroller. Therefore the main focus of thismanual is on textual BASIC programming.For further information on the flowchart programming method In ProgrammingEditor, please see the flowchart appendix at the end of this manual. Logicator hasit’s own, separate, instruction manual.main:high 0wait 1low 0wait 1goto mainstarthigh 0wait 1low 0wait 1revolution(c) Revolution Education Ltd. Email: info@rev-ed.co.uk Web: www.rev-ed.co.ukVersion 6.9 07/2009All rights reserved.53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!