view 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 source

#!/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