Skip to content

FRC Team 342 Official NetConsole NodeJS Module source code repository.

License

Notifications You must be signed in to change notification settings

frc-team-342/frc-team342-netconsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FIRST Team 342 NetConsole

Description

This is a NodeJS module designed to listen for and send messages to the FRC cRIO via the NetConsole feature..

Example

Listening for console message.

var NetConsole = require('frc-netconsole').NetConsole;

var console = new NetConsole(342);

console.connect();

console.onMessage(function(message, info) {
  console.log(message.toString());
});

Sending console message.

var NetConsole = require('frc-netconsole').NetConsole;

var console = new NetConsole(342);

console.connect();

console.send("reboot");

About

FRC Team 342 Official NetConsole NodeJS Module source code repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published