change nodejs require

This commit is contained in:
Jay 2017-05-30 19:35:39 +08:00
parent 4fb40fc1d6
commit ca2453fe9a

View File

@ -1,4 +1,4 @@
var SX127x = require('../index'); // or require('sx127x') var SX127x = require('sx127x'); // or require('sx127x')
var sx127x = new SX127x({ var sx127x = new SX127x({
frequency: 866e6, frequency: 866e6,