| 139 | #endif |
| 140 | |
| 141 | void testBitPatterns() |
| 142 | { |
| 143 | TEST_CASE("Bit Patterns") |
| 144 | { |
| 145 | debug_w("Connect scope and observe bit pattern"); |
| 146 | clearStats(); |
| 147 | constexpr unsigned duration{10}; |
| 148 | constexpr unsigned loopInterval{250}; |
| 149 | loopCount = duration * 1000 / loopInterval; |
| 150 | timer.initializeMs<loopInterval>([this]() { bitPatterns(); }); |
| 151 | timer.start(); |
| 152 | return pending(); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | /* |
| 157 | * 6 transactions: |