22 button.
input().pullup();
30 BENCHMARK(
"1.1 Arduino core digitalRead", 1000) {
35 BENCHMARK(
"1.2 Arduino core digitalWrite(HIGH)", 1000) {
39 BENCHMARK(
"1.3 Arduino core digitalWrite(LOW)", 1000) {
43 BENCHMARK(
"1.4 Arduino core toggle; digitalRead-digitalWrite", 1000) {
47 BENCHMARK(
"1.5 Arduino core toggle; digitalWrite", 1000) {
52 BENCHMARK(
"2.1 GPIO pin value operator", 1000) {
57 BENCHMARK(
"2.2 GPIO high member function", 1000) {
61 BENCHMARK(
"2.3 GPIO low member function", 1000) {
65 BENCHMARK(
"2.4 GPIO assignment HIGH", 1000) {
69 BENCHMARK(
"2.5 GPIO assignment LOW", 1000) {
73 BENCHMARK(
"2.6 GPIO toggle; value and assignment operator", 1000) {
77 BENCHMARK(
"2.7 GPIO toggle; high and low member functions", 1000) {
82 BENCHMARK(
"2.8 GPIO toggle; assignment operator, HIGH/LOW", 1000) {
87 BENCHMARK(
"2.9 GPIO toggle member function", 1000) {
void begin(uint32_t baudrate)
#define BENCHMARK(msg, scale)
#define BENCHMARK_BASELINE(scale)
Software::Serial< BOARD::D0 > Serial