• I've tried to use the block code you provided but I ended up with an out of memory error.
    I also have an algorithm I've made.
    What I have to do is check for a belt attachment (hall effect sensor on C7) and at the same time have a weight on a scale that is literally connected to the LCD connections (A8) (should send a current out when the weight is above like 7kg). Then when a second hall effect sensor is tripped off (from having a magnet to none) then make a sound to remind someone to remove the belt sensor and the weight and then the sound should stop. Also the sound should alternate 5 seconds on and 5 seconds off.

    If it would help I can include pictures of my setup.

    Would the device work better with the actual Javascript code? I guess I could try.

    Thanks for your help so far!


    1 Attachment

    • 2015-05-04 14.02.32.jpg
About

Avatar for Progma @Progma started