-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7984026
commit acb1f45
Showing
14 changed files
with
103 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# These are supported funding model platforms | ||
|
||
github: RobTillaart | ||
|
||
custom: "https://www.paypal.me/robtillaart" |
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 |
---|---|---|
|
@@ -76,7 +76,6 @@ Valid values for channel are 0..15. | |
#### Should | ||
|
||
- add examples | ||
- check performance | ||
|
||
#### Could | ||
|
||
|
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,60 @@ | ||
r// | ||
// FILE: ADG725_performance.ino | ||
// AUTHOR: Rob Tillaart | ||
// PURPOSE: measure performance | ||
// URL: https://github.com/RobTillaart/ADG725 | ||
|
||
|
||
#include "ADG725.h" | ||
|
||
|
||
ADG725 ADG(10, 11, 12); | ||
|
||
uint32_t start, stop; | ||
|
||
|
||
void setup() | ||
{ | ||
Serial.begin(115200); | ||
Serial.print("ADG725_LIB_VERSION: "); | ||
Serial.println(ADG725_LIB_VERSION); | ||
delay(100); | ||
|
||
start = micros(); | ||
for (int ch = 0; ch < 16; ch++) | ||
{ | ||
ADG.setChannel(ch); | ||
} | ||
stop = micros(); | ||
Serial.print("setChannel:\t"); | ||
Serial.println((stop - start) / 16.0); | ||
delay(100); | ||
|
||
start = micros(); | ||
for (int ch = 0; ch < 16; ch++) | ||
{ | ||
ADG.setChannelA(ch); | ||
} | ||
stop = micros(); | ||
Serial.print("setChannelA:\t"); | ||
Serial.println((stop - start) / 16.0); | ||
delay(100); | ||
|
||
start = micros(); | ||
for (int ch = 0; ch < 16; ch++) | ||
{ | ||
ADG.setChannelB(ch); | ||
} | ||
stop = micros(); | ||
Serial.print("setChannelB:\t"); | ||
Serial.println((stop - start) / 16.0); | ||
delay(100); | ||
} | ||
|
||
|
||
void loop() | ||
{ | ||
} | ||
|
||
|
||
// -- END OF FILE -- |
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,7 @@ | ||
Arduino UNO | ||
IDE:1.8.19 | ||
|
||
ADG725_LIB_VERSION: 0.1.1 | ||
setChannel: 125.25 | ||
setChannelA: 125.00 | ||
setChannelB: 125.25 |
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,8 @@ | ||
Arduino UNO | ||
IDE:1.8.19 | ||
|
||
ADG725_LIB_VERSION: 0.1.2 | ||
setChannel: 124.50 | ||
setChannelA: 124.25 | ||
setChannelB: 124.25 | ||
|
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