Commit Graph

7 Commits

Author SHA1 Message Date
Gonzalo Ruiz e8baba6de8 README: add CC8X boards interfaces to README files
Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2019-04-12 17:31:06 +02:00
Tatiana Leon 9cf9701082 apix readme: minor fixes for apix samples readme files
This commit:
 * adds the name of the connector in the readme files
 * uses the official platform names
 * minor changes for consistency between readme files

Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
2017-12-12 17:26:02 +01:00
Francisco Gil 5c3834f845 adc: fix segmentation fault when exiting the application
'adc_sampling_cb_data' struct is a local variable of the 'main' function.
Sometimes, the ADC callback accesses to it once the main function has exited
(when it is out of scope), causing a segmentation fault.
To solve this issue, adc_sampling_cb_data' struct is now a global variable.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2017-12-11 14:04:03 +01:00
Francisco Gil cfca505e10 debug: changes in the makefile to reduce the optimization level.
We need to reduce the optimization level in order to be able to
perform a debugging of the applications, without this there is
an strange behaviour while debugging.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2017-11-30 13:12:58 +01:00
Francisco Gil 3b7bbdbf65 dey-examples: Rework the examples to be launch-ready
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2017-11-30 13:12:58 +01:00
Francisco Gil 58469e08da adc: rework the example to remove rms and mean value.
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2017-11-23 13:45:23 +01:00
Francisco Gil 68f3f0f815 adc_example: Add an example about how to use the adc.
This example takes periodic samples using a thread and
calculate the rms value and the mean value of the samples
taken.

https://jira.digi.com/browse/DEL-4889

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
2017-11-20 17:55:40 +01:00