Welcome, Guest. Please login or register.
Did you miss your activation email?
June 18, 2018, 12:37:23 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
Author Topic: Brain Modulus Function  (Read 2261 times)
0 Members and 1 Guest are viewing this topic.

Offline Offline

Posts: 2

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 489 times.)
* modulo.brn (3.23 KB - downloaded 141 times.)
Pages: 1   Go Up
Jump to:  

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