<commit_before>/**
 * Con este ejemplo, podemos manipular el texto mostrado en 
 * la matris rgb. Tambien nos servirá para contrlar la tira
 * de led rgb.
 */


var serialport = require("serialport");
var Repl = require("./repl");
var SerialPort = serialport.SerialPort
var serialport = new SerialPort("/dev/tty.usbmodem1451",{
  baudrate: 14400,
  parser: serialport.parsers.readline("\n")
});

this.repl = new Repl({sp: serialport});

function sendCommnad(){
  console.log("Enviando comando >>> ", (process.argv[2] || "NodeBots MX"));
  serialport.write( new Buffer( process.argv[2] || "NodeBots MX") );
}

serialport.on('open', function(){
  console.log('Serial Port Opened');  
  
  setTimeout( function(){ sendCommnad(); }, 2000);
});

http://192.168.2.250:9090/docs/PDFDocument.jsp?RowIdPoliza=1-2J7BUF&IdMovimiento=1-2J7BUQ&TipoDeDocumento=Recibo&Folio=RA783954&PAPEL=Bond&Formato=OriginalBond<commit_msg>se elimina comentario<commit_after>/**
 * Con este ejemplo, podemos manipular el texto mostrado en 
 * la matris rgb. Tambien nos servirá para contrlar la tira
 * de led rgb.
 */


var serialport = require("serialport");
var Repl = require("./repl");
var SerialPort = serialport.SerialPort
var serialport = new SerialPort("/dev/tty.usbmodem1451",{
  baudrate: 14400,
  parser: serialport.parsers.readline("\n")
});

this.repl = new Repl({sp: serialport});

function sendCommnad(){
  console.log("Enviando comando >>> ", (process.argv[2] || "NodeBots MX"));
  serialport.write( new Buffer( process.argv[2] || "NodeBots MX") );
}

serialport.on('open', function(){
  console.log('Serial Port Opened');  
  
  setTimeout( function(){ sendCommnad(); }, 2000);
});
{'fraction_non_alphanumeric': 0.1627767803710353, 'fraction_numerical': 0.033512866546977854, 'mean_word_length': 5.08, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3907017', 'n_tokens_mistral': 628, 'n_tokens_neox': 585, 'n_words': 134}