moved cec high/low functions
renamed state_machine -> cec_driver