This file contains hidden or 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
| /********************************************************************************* | |
| B&O uses a PWM system, with 200ms pulses with specific sized gaps between them. | |
| The gap size determines the data payload: | |
| BEO_ZERO 3125 | |
| BEO_SAME 6250 - Repeat of the last Bit type | |
| BEO_ONE 9375 | |
| BEO_STOP 12500 - Marks the start of a message | |
| BEO_START 15625 - Marks the end of a message | |
| Beo4 commmands are of the form: |
This file contains hidden or 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
| using Microsoft.Extensions.Options; | |
| using System.Collections.ObjectModel; | |
| using System.Diagnostics.Tracing; | |
| using System.Runtime.CompilerServices; | |
| using System.Text.Json; | |
| using System.Text.Json.Serialization; | |
| public class EventEnumerator : EventListener | |
| { |