Migrate to LED HAL (Zoul examples)

This commit is contained in:
George Oikonomou 2018-02-25 22:24:36 +00:00
parent ad32bdd070
commit 40ca7d0443
3 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ PROCESS_THREAD(test_remote_pm, ev, data)
printf("PM: Soft shutdown, timeout set to %lu\n", pm_get_timeout());
leds_off(LEDS_ALL);
leds_on(LEDS_PURPLE);
leds_on(LEDS_RED);
/* Wait just enough to be able to check the LED result */
etimer_set(&et, CLOCK_SECOND * 3);

View File

@ -65,7 +65,7 @@ gyro_interrupt_callback(uint8_t status)
* returns the outcome of the read operation, check to validate if the
* data is valid to read
*/
leds_toggle(LEDS_PURPLE);
leds_toggle(LEDS_RED);
printf("Gyro: X_axis %u, Y_axis %u, Z_axis %u\n", gyro_values.x,
gyro_values.y,

View File

@ -63,7 +63,7 @@ void
light_interrupt_callback(uint8_t value)
{
printf("* Light sensor interrupt!\n");
leds_toggle(LEDS_PURPLE);
leds_toggle(LEDS_RED);
}
/*---------------------------------------------------------------------------*/
PROCESS_THREAD(remote_tsl256x_process, ev, data)