Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: typos raised by new codespell version#1971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 1 commit intostm32duino:mainfromfpistm:fix_codespell
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,12 +47,12 @@

\par Description:
\par
Demonstrates the Pythagoreantrignometric identity with the use of Cosine, Sine, Vector
Demonstrates the Pythagoreantrigonometric identity with the use of Cosine, Sine, Vector
Multiplication, and Vector Addition functions.

\par Algorithm:
\par
Mathematically, the Pythagoreantrignometric identity is defined by the following equation:
Mathematically, the Pythagoreantrigonometric identity is defined by the following equation:
<pre>sin(x) * sin(x) + cos(x) * cos(x) = 1</pre>
where \c x is the angle in radians.

Expand Down
2 changes: 1 addition & 1 deletionlibraries/SoftwareSerial/src/SoftwareSerial.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
}
}
Expand Down
2 changes: 1 addition & 1 deletionlibraries/SrcWrapper/src/stm32/uart.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,7 +36,7 @@ extern "C" {
#define DEBUG_UART_BAUDRATE 9600
#endif

/* @brief uartcaracteristics */
/* @brief uartcharacteristics */
typedef enum {
#if defined(USART1_BASE)
UART1_INDEX,
Expand Down
12 changes: 6 additions & 6 deletionslibraries/Wire/examples/i2c_scanner/i2c_scanner.ino
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
Expand DownExpand Up@@ -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();

*/


Expand DownExpand Up@@ -76,21 +76,21 @@ 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);

nDevices++;
}
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");
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp