2017-01-15 17:59:50 -08:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const expect = require('chai').expect,
|
|
|
|
Bus = require('../lib/bus').Bus
|
|
|
|
// _ = require('uci-utils')
|
|
|
|
|
|
|
|
let bus = new Bus()
|
|
|
|
// console.log(bus.write.toString())
|
|
|
|
|
2017-01-15 18:47:43 -08:00
|
|
|
bus.write(0x20, 0x09, 0xFF)
|
2017-01-15 17:59:50 -08:00
|
|
|
|
|
|
|
describe('Bus Class - ', function () {
|
|
|
|
|
|
|
|
it('Promise Methods are exposed ', function () {
|
|
|
|
// expect(pin.cfg, "config getter failed").to.deep.equal(gpio.configs('output'))
|
|
|
|
})
|
|
|
|
|
2017-01-15 18:47:43 -08:00
|
|
|
})
|