-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: up_squared/gpio_counter: update to new GPIO API
Update the gpio_counter sample app for the UP Squared board: () Update configuration calls to use new flags. () Separate pin configuration into setting it to input, and setting the pin for interrupt. () Use gpio_pin_set() instead of gpio_pin_write(). Signed-off-by: Daniel Leung <daniel.leung@intel.com>
- Loading branch information
1 parent
2cf75c6
commit 07fc50a
Showing
1 changed file
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters