-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scripts] remove axiom_ prefix for i2c functions again
- Loading branch information
Showing
16 changed files
with
134 additions
and
134 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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
axiom_i2c_set 0x22 0x14 0x1F | ||
i2c_set 0x22 0x14 0x1F |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
axiom_i2c_set 0x22 0x14 0x0F | ||
i2c_set 0x22 0x14 0x0F |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
#!/bin/bash | ||
for id in 0x20 0x21; do | ||
axiom_i2c_test $id || continue | ||
i2c_test $id || continue | ||
|
||
axiom_i2c_set $id 0x00 0x55 | ||
axiom_i2c_set $id 0x01 0x55 | ||
i2c_set $id 0x00 0x55 | ||
i2c_set $id 0x01 0x55 | ||
|
||
axiom_i2c_set $id 0x0c 0xAA | ||
axiom_i2c_set $id 0x0d 0xAA | ||
i2c_set $id 0x0c 0xAA | ||
i2c_set $id 0x0d 0xAA | ||
|
||
axiom_i2c_set $id 0x14 0x00 | ||
axiom_i2c_set $id 0x15 0x00 | ||
i2c_set $id 0x14 0x00 | ||
i2c_set $id 0x15 0x00 | ||
done | ||
|
||
for id in 0x22 0x23; do | ||
axiom_i2c_test $id || continue | ||
i2c_test $id || continue | ||
|
||
axiom_i2c_set $id 0x00 0xA5 | ||
axiom_i2c_set $id 0x01 0xC3 | ||
i2c_set $id 0x00 0xA5 | ||
i2c_set $id 0x01 0xC3 | ||
|
||
axiom_i2c_set $id 0x0c 0x5A | ||
axiom_i2c_set $id 0x0d 0x3C | ||
i2c_set $id 0x0c 0x5A | ||
i2c_set $id 0x0d 0x3C | ||
|
||
axiom_i2c_set $id 0x14 0x00 | ||
axiom_i2c_set $id 0x15 0x00 | ||
i2c_set $id 0x14 0x00 | ||
i2c_set $id 0x15 0x00 | ||
done |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/bash | ||
for id in 0x20 0x21 0x22 0x23; do | ||
axiom_i2c_test $id || continue | ||
i2c_test $id || continue | ||
|
||
axiom_i2c_set $id 0x14 0x00 | ||
axiom_i2c_set $id 0x15 0x00 | ||
i2c_set $id 0x14 0x00 | ||
i2c_set $id 0x15 0x00 | ||
done | ||
|
Oops, something went wrong.