@@ -667,7 +667,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
667667 // act on reserved sysEx messages (extended commands) or trigger SysEx event...
668668 switch (data.front ()) { // first byte in buffer is command
669669 case REPORT_FIRMWARE:
670- ofLogVerbose (" ofArduino" ) << " Recieved Firmware Report" ;
670+ ofLogVerbose (" ofArduino" ) << " Received Firmware Report" ;
671671 it = data.begin ();
672672 it++; // skip the first byte, which is the firmware version command
673673 _majorFirmwareVersion = *it;
@@ -694,7 +694,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
694694 break ;
695695
696696 case STRING_DATA:
697- ofLogVerbose (" ofArduino" ) << " Recieved Firamta String" ;
697+ ofLogVerbose (" ofArduino" ) << " Received Firmata String" ;
698698 it = data.begin ();
699699 it++; // skip the first byte, which is the string command
700700 while (it != data.end ()) {
@@ -713,7 +713,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
713713 ofNotifyEvent (EStringReceived, str, this );
714714 break ;
715715 case I2C_REPLY:
716- ofLogVerbose (" ofArduino" ) << " Recieved I2C Reply" ;
716+ ofLogVerbose (" ofArduino" ) << " Received I2C Reply" ;
717717 if (data.size () > 7 && (data.size () - 5 ) % 2 == 0 ) {
718718 Firmata_I2C_Data i2creply;
719719 it = data.begin ();
@@ -727,15 +727,15 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
727727 it++;
728728 }
729729 i2creply.data = str;
730- ofNotifyEvent (EI2CDataRecieved , i2creply, this );
730+ ofNotifyEvent (EI2CDataReceived , i2creply, this );
731731 }
732732 else {
733- ofLogError (" Arduino I2C" ) << " Incorrect Number of Bytes recieved , possible buffer overflow" ;
733+ ofLogError (" Arduino I2C" ) << " Incorrect Number of Bytes received , possible buffer overflow" ;
734734 purge ();
735735 }
736736 break ;
737737 case ENCODER_DATA:
738- ofLogVerbose (" ofArduino" ) << " Recieved Encoder Data" ;
738+ ofLogVerbose (" ofArduino" ) << " Received Encoder Data" ;
739739 if (data.size () % 5 == 1 ) {
740740
741741 vector<Firmata_Encoder_Data> encoderReply;
@@ -771,14 +771,14 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
771771 ofNotifyEvent (EEncoderDataReceived, encoderReply, this );
772772 }
773773 else {
774- ofLogError (" Arduino Encoder" ) << " Incorrect Number of Bytes recieved , possible buffer overflow" ;
774+ ofLogError (" Arduino Encoder" ) << " Incorrect Number of Bytes received , possible buffer overflow" ;
775775 purge ();
776776 }
777777
778778 break ;
779779 case SERIAL_MESSAGE:
780780 {
781- ofLogVerbose (" ofArduino" ) << " Recieved Serial Message" ;
781+ ofLogVerbose (" ofArduino" ) << " Received Serial Message" ;
782782 Firmata_Serial_Data reply;
783783
784784 it = data.begin ();
@@ -827,7 +827,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
827827 break ;
828828 case CAPABILITY_RESPONSE:
829829 {
830- ofLogVerbose (" ofArduino" ) << " Recieved Capability Response" ;
830+ ofLogVerbose (" ofArduino" ) << " Received Capability Response" ;
831831 it = data.begin ();
832832 it += 2 ; // skip the first byte, which is the string command
833833
@@ -912,7 +912,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
912912 break ;
913913 case ANALOG_MAPPING_RESPONSE:
914914 {
915- ofLogVerbose (" ofArduino" ) << " Recieved Analog Map Query Response" ;
915+ ofLogVerbose (" ofArduino" ) << " Received Analog Map Query Response" ;
916916 it = data.begin ();
917917 int pin = 0 ;
918918 bool fAPin = false ;
@@ -947,7 +947,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
947947 break ;
948948 case PIN_STATE_RESPONSE:
949949 {
950- ofLogVerbose (" ofArduino" ) << " Recieved Pin State Query Response" ;
950+ ofLogVerbose (" ofArduino" ) << " Received Pin State Query Response" ;
951951 it = data.begin ();
952952 it++; // skip the first byte, which is the string command
953953 int pin = *it++;
0 commit comments