MacOS no longer ships 6.0, and Arch Linux's mesa GPU drivers are no longer compatible with LLVM 6.0.
The DutyCycleEncoder class initializes AnalogTrigger, which is not supported in simulation. To avoid this, do not use AnalogTrigger (or Counter) in simulation mode. Fixes #2367 Co-authored-by: Peter Johnson <johnson.peter@gmail.com>
Avoids extra boilerplate at user level.