Skip to content

Commit 2fd8c38

Browse files
committed
update micro demo to new buffer methods
1 parent 7a0af25 commit 2fd8c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/demos/micro.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var Avrgirl = require('../../avrgirl-arduino');
22
var board = {
33
name: 'micro',
44
baud: 57600,
5-
signature: new Buffer([0x43, 0x41, 0x54, 0x45, 0x52, 0x49, 0x4e]),
5+
signature: Buffer.from([0x43, 0x41, 0x54, 0x45, 0x52, 0x49, 0x4e]),
66
productId: ['0x0037', '0x8037', '0x0036'],
77
protocol: 'avr109'
88
};

0 commit comments

Comments
 (0)