Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2014, 11:51:39 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Brain Modulus Function
Pages: 1   Go Down
Print
Author Topic: Brain Modulus Function  (Read 177 times)
0 Members and 1 Guest are viewing this topic.
gjk
Holding

Offline Offline

Posts: 1


View Profile
« on: November 04, 2014, 01:30:46 PM »

I am having trouble getting the modulo operator to work in a brain.  I would like to activate an output for .5 seconds each time my machine moves a specified distance.  This output will control an oiler. I canít get any value from the formula in the brain. It always outputs 0. Hopefully someone can tell me if my syntax is wrong or if there is a better way to do this. Thanks.   


* modulo brain.jpg (112.55 KB, 1440x850 - viewed 30 times.)
* modulo.brn (3.23 KB - downloaded 7 times.)
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!