Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var Avrgirl = require('avrgirl-arduino');
  2.  
  3. var avrgirl = new Avrgirl({
  4. board: 'uno'
  5. });
  6.  
  7. avrgirl.flash('Blink.cpp.hex', function (error) {
  8. if (error) {
  9. console.error(error);
  10. } else {
  11. console.info('done.');
  12. }
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement