Submitted by superadmin on Fri, 06/15/2012 - 14:56
Here is a PDF showing a complete MeccCompiler III using the Clinic1 source code from the Clinic folder of the distribution disk.
Each step is shown in detail with screen shots, so you can compare your work with ours.
Gantry Clinic Walkthrough. A full walkthrough with screenshots of the first part of the Gantry Clinic Tutorial.
Clinic1.txt. the source code for the first part of the travelling gantry clinic
Submitted by superadmin on Fri, 06/15/2012 - 14:55
In the process of developing code for my Plotter project, I have had to write a number of routines for handling 32 bit numbers.
The routines include
Mult16 - multiple two 16bit word values together (giving a 32 bit value)
Divide32 - divides a 32 bit value by a 16bit word, and returns a Word result
Add32 - Add two 32 bit values together
Sub32 - Subtracts a 32 bit value from another 32 bit value
Sqroot - returns the Square Root of a Word Value
Submitted by superadmin on Fri, 06/15/2012 - 14:55
I'm working on a project that needs a square root function.
Here's what I've come up with, for others to use.
This method dating back to the Babylonians (1700 B.C.) is known as the Babylonian Algorithm.
If A > 0 is a guess of the square root of the positive number Q, then a better approximation to SQRT(Q) is given by
B = (A + Q/A)/2.
Submitted by superadmin on Fri, 06/15/2012 - 14:54
A Step by Step Tutorial on MotorVator programming.
Using a simple test rig with a motor and a microswitch/cam arrangement, we will build up a program to measure and control the RPM of the motor.

