From: Nathael Pajani Date: Mon, 19 Jun 2017 16:28:34 +0000 (+0200) Subject: Remove code related to ws2812 leds (do not mix examples in base when possible) X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=bf5660c9c9b02b36faabda50829e922748575757;p=soft%2Flpc122x%2Fexamples Remove code related to ws2812 leds (do not mix examples in base when possible) --- 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);