Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Yenka CAD software Arithmetic Calulations in Flowcharts

Status
Not open for further replies.

TobyB434

New Member
Hi, I was wondering whether somebody could help I am a student and am using the Yenka CAD software to program a PICAXE chip, I was wondering whether anybody knew how to perform arithmetic in a flowchart on a variable x such as division e.g. x / 58. Is this possible with this chip /software, or is there a way around it through programming BASIC and then downloading this code straight to the IC? Many Thanks
 
I don't know anything about the Yenka CAD software.

The PICAXE chips can be programmed to divide, within the limits of integer arithmetic. If you are dividing by a fixed number, for instance 58, it may be better to multiply by 1130 (which is 65536/58) and then take the high word of the result as the answer.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top