comparison pcmon/pcmon.py @ 0:c34b37680055 default tip

Inital commit of random SuperIO code.
author Daniel O'Connor <darius@dons.net.au>
date Thu, 20 Oct 2011 16:48:24 +1030
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c34b37680055
1 #!/usr/bin/env python
2
3 import subprocess
4
5 baseadr = 0x2e
6 type = 'i'
7
8 class pcmon(object):
9 def __init__(self):
10 p = subprocess.Popen(["./pcmonhelper", "-b", "0x%x" % (baseadr), "-t", type], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
11
12 if __name__ == "__main__":
13 pass