From bf5660c9c9b02b36faabda50829e922748575757 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Mon, 19 Jun 2017 18:28:34 +0200 Subject: [PATCH] Remove code related to ws2812 leds (do not mix examples in base when possible) --- test_sensor_env/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test_sensor_env/main.c b/test_sensor_env/main.c index e45c5e0..a0fba35 100644 --- a/test_sensor_env/main.c +++ b/test_sensor_env/main.c @@ -145,9 +145,6 @@ void bme_display(int uart_num) comp_pressure, comp_temp / 10, (comp_temp > 0) ? (comp_temp % 10) : ((-comp_temp) % 10), comp_humidity / 10, comp_humidity % 10); - ws2812_set_pixel(0, comp_humidity / 10, 0,0); - ws2812_set_pixel(1, 0, 0, comp_humidity % 10); - ws2812_send_frame(0); } } @@ -230,9 +227,6 @@ int main(void) uv_config(UART0); lux_config(UART0); - /* */ - ws2812_config(&ws2812_data_out_pin); - while (1) { bme_display(UART0); uv_display(UART0); -- 2.43.0