Git
Wiki
Site
projects
/
soft
/
lpc122x
/
examples
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcb3b9d
)
Remove code related to ws2812 leds (do not mix examples in base when possible)
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 19 Jun 2017 16:28:34 +0000
(18:28 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:14:23 +0000
(17:14 +0100)
test_sensor_env/main.c
patch
|
blob
|
history
diff --git
a/test_sensor_env/main.c
b/test_sensor_env/main.c
index
e45c5e0
..
a0fba35
100644
(file)
--- 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);
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !