Skip to content

Commit

Permalink
switched to nice-nano as board?
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeallister committed Mar 19, 2023
1 parent 32ef1ce commit 070c416
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
#
---
include:
- board: nrf52840dk_nrf52840
- board: nice_nano_v2
shield: ergofan
32 changes: 16 additions & 16 deletions config/boards/shields/ergofan/ergofan.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
label = "default_kscan";
diode-direction = "col2row";

row-gpios = <&pro_micro 18 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&pro_micro 19 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&pro_micro 26 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&pro_micro 25 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
row-gpios = <&gpio0 18 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&gpio0 19 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&gpio0 26 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>,
<&gpio0 25 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;

col-gpios = <&pro_micro 24 GPIO_ACTIVE_HIGH>,
<&pro_micro 1 GPIO_ACTIVE_HIGH>,
<&pro_micro 0 GPIO_ACTIVE_HIGH>,
<&pro_micro 2 GPIO_ACTIVE_HIGH>,
<&pro_micro 17 GPIO_ACTIVE_HIGH>,
<&pro_micro 23 GPIO_ACTIVE_HIGH>,
<&pro_micro 5 GPIO_ACTIVE_HIGH>,
<&pro_micro 6 GPIO_ACTIVE_HIGH>,
<&pro_micro 9 GPIO_ACTIVE_HIGH>,
<&pro_micro 10 GPIO_ACTIVE_HIGH>,
<&pro_micro 11 GPIO_ACTIVE_HIGH>,
<&pro_micro 12 GPIO_ACTIVE_HIGH>,
col-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>,
<&gpio0 1 GPIO_ACTIVE_HIGH>,
<&gpio0 0 GPIO_ACTIVE_HIGH>,
<&gpio0 2 GPIO_ACTIVE_HIGH>,
<&gpio0 17 GPIO_ACTIVE_HIGH>,
<&gpio0 23 GPIO_ACTIVE_HIGH>,
<&gpio0 5 GPIO_ACTIVE_HIGH>,
<&gpio0 6 GPIO_ACTIVE_HIGH>,
<&gpio0 9 GPIO_ACTIVE_HIGH>,
<&gpio0 10 GPIO_ACTIVE_HIGH>,
<&gpio0 11 GPIO_ACTIVE_HIGH>,
<&gpio0 12 GPIO_ACTIVE_HIGH>,
};

default_transform: matrix_transform {
Expand Down

0 comments on commit 070c416

Please sign in to comment.