piclist 2008\07\28\194009a >
Thread: Multiplication/ Division
picon face BY : threewheeler7 email (remove spam text)

is it possible to do multiplication or division on two registers, instead of
one being a literal constant? lets say i have a routine that flashes an led
"x" number of times with "t" amount of time between flashes. i would like to
write a routine that instead of feeding the first routine t; it would take
the "total time" (in ms) i want the flashing routine to run for, and divide
it by "x", to get "t". so each time it is executed, "x" and "total time" may
me different.
View this message in context: www.nabble.com/Multiplication--Division-tp18702111p18702111.html
Sent from the PIC - [PIC] mailing list archive at Nabble.com.

<18702111.post@talk.nabble.com> 7bit

See also: www.piclist.com/techref/microchip/math/index.htm?key=multiplication
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Multiplication/ Division

month overview.

new search...