diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pcmon/pcmon.py	Thu Oct 20 16:48:24 2011 +1030
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+import subprocess
+
+baseadr = 0x2e
+type = 'i'
+
+class pcmon(object):
+    def __init__(self):
+        p = subprocess.Popen(["./pcmonhelper", "-b", "0x%x" % (baseadr), "-t", type], stdout=subprocess.PIPE, stdin=subprocess.PIPE)
+
+if __name__ == "__main__":
+    pass