-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix URL examples + minor edits (#13)
- Loading branch information
1 parent
9b8e47b
commit e30bdd4
Showing
10 changed files
with
54 additions
and
15 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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
|
||
# Performance test | ||
|
||
Test sketch MCP23S08_performance.ino | ||
|
||
Max clock frequency 10 MHz, for an UNO this is 8 MHz (divider of CPU clock) | ||
|
||
### Library version: 0.4.1 | ||
|
||
|
||
| Action | SW SPI | HW 1 MHz | HW 2 MHz | HW 4 MHz | HW 8 MHz | | ||
|:-------------------------|--------:|---------:|---------:|---------:|---------:| | ||
| TEST write1(0, value) | xx.xx | xx.xx | xx.xx | xx.xx | 35.50 | | ||
| TEST write1(pin, value) | xx.xx | xx.xx | xx.xx | xx.xx | 35.50 | | ||
| TEST read1(pin) | xx.xx | xx.xx | xx.xx | xx.xx | 24.50 | | ||
| | | | | | | | ||
| TEST write8(port, mask) | xx.xx | xx.xx | xx.xx | xx.xx | 28.00 | | ||
| TEST read8(port) | xx.xx | xx.xx | xx.xx | xx.xx | 24.00 | | ||
|
||
|
||
### Notes | ||
|
||
Performance as expected, no showstoppers. | ||
|
||
|
||
### Future | ||
|
||
- test ESP32 and other platforms | ||
- register based IO version for the SW SPI on AVR ? | ||
|
||
|
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