diff --git a/libraries/CMSIS_DSP/examples/arm_sin_cos_example_f32/arm_sin_cos_example_f32.ino b/libraries/CMSIS_DSP/examples/arm_sin_cos_example_f32/arm_sin_cos_example_f32.ino index 418836f973..d4d3203720 100644 --- a/libraries/CMSIS_DSP/examples/arm_sin_cos_example_f32/arm_sin_cos_example_f32.ino +++ b/libraries/CMSIS_DSP/examples/arm_sin_cos_example_f32/arm_sin_cos_example_f32.ino @@ -47,12 +47,12 @@ \par Description: \par - Demonstrates the Pythagorean trignometric identity with the use of Cosine, Sine, Vector + Demonstrates the Pythagorean trigonometric identity with the use of Cosine, Sine, Vector Multiplication, and Vector Addition functions. \par Algorithm: \par - Mathematically, the Pythagorean trignometric identity is defined by the following equation: + Mathematically, the Pythagorean trigonometric identity is defined by the following equation:
sin(x) * sin(x) + cos(x) * cos(x) = 1where \c x is the angle in radians. diff --git a/libraries/SoftwareSerial/src/SoftwareSerial.cpp b/libraries/SoftwareSerial/src/SoftwareSerial.cpp index 9eec770a6a..6a8c303c6c 100644 --- a/libraries/SoftwareSerial/src/SoftwareSerial.cpp +++ b/libraries/SoftwareSerial/src/SoftwareSerial.cpp @@ -283,7 +283,7 @@ inline void SoftwareSerial::recv() if (inbit) { rx_buffer |= 0x80; } - rx_bit_cnt++; // Preprare for next bit + rx_bit_cnt++; // Prepare for next bit rx_tick_cnt = OVERSAMPLE; // Wait OVERSAMPLE ticks before sampling next bit } } diff --git a/libraries/SrcWrapper/src/stm32/uart.c b/libraries/SrcWrapper/src/stm32/uart.c index f1ea4bc275..3f90dcfe72 100644 --- a/libraries/SrcWrapper/src/stm32/uart.c +++ b/libraries/SrcWrapper/src/stm32/uart.c @@ -36,7 +36,7 @@ extern "C" { #define DEBUG_UART_BAUDRATE 9600 #endif -/* @brief uart caracteristics */ +/* @brief uart characteristics */ typedef enum { #if defined(USART1_BASE) UART1_INDEX, diff --git a/libraries/Wire/examples/i2c_scanner/i2c_scanner.ino b/libraries/Wire/examples/i2c_scanner/i2c_scanner.ino index 3e503a8cae..22a138c79b 100644 --- a/libraries/Wire/examples/i2c_scanner/i2c_scanner.ino +++ b/libraries/Wire/examples/i2c_scanner/i2c_scanner.ino @@ -6,7 +6,7 @@ // can be found in many places. // For example on the Arduino.cc forum. // The original author is not know. -// Version 2, Juni 2012, Using Arduino 1.0.1 +// Version 2, Jun 2012, Using Arduino 1.0.1 // Adapted to be as simple as possible by Arduino.cc user Krodal // Version 3, Feb 26 2013 // V3 by louarnold @@ -47,7 +47,7 @@ If you want to use the two I2Cs simultaneously, create a new instance for the second I2C TwoWire Wire2(PB11,PB10); Wire2.begin(); - + */ @@ -76,10 +76,10 @@ void loop() { Wire.beginTransmission(address); error = Wire.endTransmission(); - + if (error == 0) { Serial.print("I2C device found at address 0x"); - if (address < 16) + if (address < 16) Serial.print("0"); Serial.println(address, HEX); @@ -87,10 +87,10 @@ void loop() { } else if (error == 4) { Serial.print("Unknown error at address 0x"); - if (address < 16) + if (address < 16) Serial.print("0"); Serial.println(address, HEX); - } + } } if (nDevices == 0) Serial.println("No I2C devices found");