Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chippyrich

Pages: [1]
1
mc-Module / Accelerometer Events
« on: June 15, 2016, 01:45:03 pm »
Hello! Just unpackaged and updated my McThings, and trying to get my head around the accelerometer events. Sorry if this is a basic question :-\

Should I be able to use them in the same way as say Reed Switch changes? So for example, trying to notice a movement:
Code: [Select]
Class knockMon
    Shared Event AccelerometerInt1()
        LedGreen = Not LedGreen   
    End Event
End Class
This doesn't do anything, so assume I am missing something!

Also, there are two interrupts... What is the difference??

Thanks!
Rich

Pages: [1]