/* * i2c bus with both unix and tcp socket using defaults. For TCP that is host OS name and port 8080 * */ import MCP230XX from '../src/mcp230xx-packet' // const PATH = '' ; (async () => { let mcp_chip = new MCP230XX({id:'mcp23008-27', address:'0x27', bus:{host:'sbc'} }) await mcp_chip.init() })().catch(err => { console.error('FATAL: UNABLE TO START SYSTEM!\n',err) })