Hello Guest it is December 13, 2019, 05:35:31 AM

Author Topic: Help with maths wanted  (Read 1300 times)

0 Members and 1 Guest are viewing this topic.

Help with maths wanted
« on: February 11, 2013, 03:19:55 PM »
Hi everyone
I am writing some Gcode and am a bit stuck withs a maths problem, could do with a little help
I am engraving characters, Imagine a matrix of say 4 rows by 4 colums of characters each called by individual subroutines
The characters are numbered 1 to 16 starting from bottom left
in one parameter i want to enter a character number, i then want to work out row and column numbers into to additional parameters
i have been using,FIX,FUP and ROUND but never seem to be able to decode correctly every box in the matrix
can anyone tell me of any other functions available or even post a bit of code to help me
many thanks