You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
177 B
13 lines
177 B
6 years ago
|
import gex
|
||
|
|
||
|
class OneWire(gex.Unit):
|
||
|
"""
|
||
|
Dallas 1-Wire master
|
||
|
"""
|
||
|
|
||
|
def _type(self):
|
||
|
return '1WIRE'
|
||
|
|
||
|
def test(self):
|
||
|
return self._query(0x00)
|