No ACL setup yet! Denying access to everyone.
en:edu:zmitac:s2:aih:lab:nrf52zephyrtimers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:edu:zmitac:s2:aih:lab:nrf52zephyrtimers [2023/12/06 23:05] – [Summary of the tasks for the laboratory] ktokarzen:edu:zmitac:s2:aih:lab:nrf52zephyrtimers [2023/12/06 23:05] (current) – [Timer use] ktokarz
Line 19: Line 19:
 void led_timer_function(struct k_timer *timer_id) void led_timer_function(struct k_timer *timer_id)
 { {
- gpio_pin_set(led_dev, LED1_PIN, (int)led1_is_on); +   gpio_pin_set(led_dev, LED1_PIN, (int)led1_is_on); 
- led1_is_on = !led1_is_on;+   led1_is_on = !led1_is_on;
 } }
 </code> </code>
en/edu/zmitac/s2/aih/lab/nrf52zephyrtimers.1701900307.txt.gz · Last modified: by ktokarz