@@ -667,7 +667,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
667
667
// act on reserved sysEx messages (extended commands) or trigger SysEx event...
668
668
switch (data.front ()) { // first byte in buffer is command
669
669
case REPORT_FIRMWARE:
670
- ofLogVerbose (" ofArduino" ) << " Recieved Firmware Report" ;
670
+ ofLogVerbose (" ofArduino" ) << " Received Firmware Report" ;
671
671
it = data.begin ();
672
672
it++; // skip the first byte, which is the firmware version command
673
673
_majorFirmwareVersion = *it;
@@ -694,7 +694,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
694
694
break ;
695
695
696
696
case STRING_DATA:
697
- ofLogVerbose (" ofArduino" ) << " Recieved Firamta String" ;
697
+ ofLogVerbose (" ofArduino" ) << " Received Firmata String" ;
698
698
it = data.begin ();
699
699
it++; // skip the first byte, which is the string command
700
700
while (it != data.end ()) {
@@ -713,7 +713,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
713
713
ofNotifyEvent (EStringReceived, str, this );
714
714
break ;
715
715
case I2C_REPLY:
716
- ofLogVerbose (" ofArduino" ) << " Recieved I2C Reply" ;
716
+ ofLogVerbose (" ofArduino" ) << " Received I2C Reply" ;
717
717
if (data.size () > 7 && (data.size () - 5 ) % 2 == 0 ) {
718
718
Firmata_I2C_Data i2creply;
719
719
it = data.begin ();
@@ -727,15 +727,15 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
727
727
it++;
728
728
}
729
729
i2creply.data = str;
730
- ofNotifyEvent (EI2CDataRecieved , i2creply, this );
730
+ ofNotifyEvent (EI2CDataReceived , i2creply, this );
731
731
}
732
732
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" ;
734
734
purge ();
735
735
}
736
736
break ;
737
737
case ENCODER_DATA:
738
- ofLogVerbose (" ofArduino" ) << " Recieved Encoder Data" ;
738
+ ofLogVerbose (" ofArduino" ) << " Received Encoder Data" ;
739
739
if (data.size () % 5 == 1 ) {
740
740
741
741
vector<Firmata_Encoder_Data> encoderReply;
@@ -771,14 +771,14 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
771
771
ofNotifyEvent (EEncoderDataReceived, encoderReply, this );
772
772
}
773
773
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" ;
775
775
purge ();
776
776
}
777
777
778
778
break ;
779
779
case SERIAL_MESSAGE:
780
780
{
781
- ofLogVerbose (" ofArduino" ) << " Recieved Serial Message" ;
781
+ ofLogVerbose (" ofArduino" ) << " Received Serial Message" ;
782
782
Firmata_Serial_Data reply;
783
783
784
784
it = data.begin ();
@@ -827,7 +827,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
827
827
break ;
828
828
case CAPABILITY_RESPONSE:
829
829
{
830
- ofLogVerbose (" ofArduino" ) << " Recieved Capability Response" ;
830
+ ofLogVerbose (" ofArduino" ) << " Received Capability Response" ;
831
831
it = data.begin ();
832
832
it += 2 ; // skip the first byte, which is the string command
833
833
@@ -912,7 +912,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
912
912
break ;
913
913
case ANALOG_MAPPING_RESPONSE:
914
914
{
915
- ofLogVerbose (" ofArduino" ) << " Recieved Analog Map Query Response" ;
915
+ ofLogVerbose (" ofArduino" ) << " Received Analog Map Query Response" ;
916
916
it = data.begin ();
917
917
int pin = 0 ;
918
918
bool fAPin = false ;
@@ -947,7 +947,7 @@ void ofArduino::processSysExData(vector <unsigned char> data) {
947
947
break ;
948
948
case PIN_STATE_RESPONSE:
949
949
{
950
- ofLogVerbose (" ofArduino" ) << " Recieved Pin State Query Response" ;
950
+ ofLogVerbose (" ofArduino" ) << " Received Pin State Query Response" ;
951
951
it = data.begin ();
952
952
it++; // skip the first byte, which is the string command
953
953
int pin = *it++;
0 commit comments