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 - dc

Pages: [1]
1
mc-Module / Re: Module 120 accelerometer communications
« on: December 13, 2016, 02:42:08 am »
Has anyone been able to read values from the accelerometer?  All the code samples here seem to relate to the interupt function.  I am looking for a way to detect when the accelerometer stops moving and thought reading the values to check that they have not changed might be the way to go. 

2
mc-Module / Re: Module 120 accelerometer communications
« on: December 01, 2016, 03:40:24 am »
Is it possible to suppress or disable the accelerometer trigger for a while after it has been detected?  I want to trigger a GPS read after detection of movement but the GPS can take up to 120s to get a read and in the meantime continual movement triggers a queue for the GPS. 

3
mc-Module / Count Hardware Driven Events
« on: December 01, 2016, 03:32:30 am »
Is it possible to count hardware event instances?  For example an accelerometer interrupt or reed switch is triggered, some logic is executed and the event ends.  I am wanting to know how many times this occurs over a given time period.  I tried to create a new list and add a counter byte to a list but you can only do this within the event so the next time the event occurs it just creates a new list. 

Pages: [1]