Ian Phillips / Mbed 2 deprecated BinaryCounter