Skip to content

Commit eed0c29

Browse files
authored
Fix possible typos (#420)
1 parent 085d5ac commit eed0c29

File tree

16 files changed

+18
-18
lines changed

16 files changed

+18
-18
lines changed

i2c/lcd_1602_i2c/lcd_1602_i2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/* Example code to drive a 16x2 LCD panel via a I2C bridge chip (e.g. PCF8574)
1414
1515
NOTE: The panel must be capable of being driven at 3.3v NOT 5v. The Pico
16-
GPIO (and therefor I2C) cannot be used at 5v.
16+
GPIO (and therefore I2C) cannot be used at 5v.
1717
1818
You will need to use a level shifter on the I2C lines if you want to run the
1919
board at 5v.

i2c/lis3dh_i2c/lis3dh_i2c.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/* Example code to talk to a LIS3DH Mini GPS module.
1414
15-
This example reads data from all 3 axes of the accelerometer and uses an auxillary ADC to output temperature values.
15+
This example reads data from all 3 axes of the accelerometer and uses an auxiliary ADC to output temperature values.
1616
1717
Connections on Raspberry Pi Pico board, other boards may vary.
1818
@@ -44,7 +44,7 @@ void lis3dh_init() {
4444
buf[1] = 0x80;
4545
i2c_write_blocking(i2c_default, ADDRESS, buf, 2, false);
4646

47-
// Turn auxillary ADC on
47+
// Turn auxiliary ADC on
4848
buf[0] = TEMP_CFG_REG;
4949
buf[1] = 0xC0;
5050
i2c_write_blocking(i2c_default, ADDRESS, buf, 2, false);

i2c/mcp9808_i2c/mcp9808_i2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Connections on Raspberry Pi Pico board, other boards may vary.
1818
1919
GPIO PICO_DEFAULT_I2C_SDA_PIN (On Pico this is GP4 (physical pin 6)) -> SDA on MCP9808 board
20-
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physcial pin 7)) -> SCL on MCP9808 board
20+
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physical pin 7)) -> SCL on MCP9808 board
2121
Vsys (physical pin 39) -> VDD on MCP9808 board
2222
GND (physical pin 38) -> GND on MCP9808 board
2323

i2c/mma8451_i2c/mma8451_i2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Connections on Raspberry Pi Pico board, other boards may vary.
1818
1919
GPIO PICO_DEFAULT_I2C_SDA_PIN (On Pico this is GP4 (physical pin 6)) -> SDA on MMA8451 board
20-
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physcial pin 7)) -> SCL on MMA8451 board
20+
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physical pin 7)) -> SCL on MMA8451 board
2121
VSYS (physical pin 39) -> VDD on MMA8451 board
2222
GND (physical pin 38) -> GND on MMA8451 board
2323

i2c/mpu6050_i2c/mpu6050_i2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
inbuilt FIFO to make it more useful.
1818
1919
NOTE: Ensure the device is capable of being driven at 3.3v NOT 5v. The Pico
20-
GPIO (and therefor I2C) cannot be used at 5v.
20+
GPIO (and therefore I2C) cannot be used at 5v.
2121
2222
You will need to use a level shifter on the I2C lines if you want to run the
2323
board at 5v.

i2c/pa1010d_i2c/pa1010d_i2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void pa1010d_parse_string(char output[], char protocol[]) {
7373
// Displays GNRMC data
7474
// Similarly, additional if statements can be used to add more protocols
7575
if (strcmp(protocol, "GNRMC") == 0) {
76-
printf("Protcol:%s\n", gps_data[0]);
76+
printf("Protocol:%s\n", gps_data[0]);
7777
printf("UTC Time: %s\n", gps_data[1]);
7878
printf("Status: %s\n", gps_data[2][0] == 'V' ? "Data invalid. GPS fix not found." : "Data Valid");
7979
printf("Latitude: %s\n", gps_data[3]);

i2c/ssd1306_i2c/ssd1306_font.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
// Vertical bitmaps, A-Z, 0-9. Each is 8 pixels high and wide
8-
// Theses are defined vertically to make them quick to copy to FB
8+
// These are defined vertically to make them quick to copy to FB
99

1010
static uint8_t font[] = {
1111
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Nothing

ide/vscode/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The example assumes:
4242
4343
3. Copy the `settings.json` file into the `.vscode` folder. This illustrates how to configure the *CMake* plugin so that you debug using *cortex-debug* instead of trying to launch the executable on the host.
4444

45-
Lauching a debug session in the workspace (e.g. with *f5*) should now build the project and if successful upload it to the target, open a debug session and pause at the start of `main()`.
45+
Launching a debug session in the workspace (e.g. with *f5*) should now build the project and if successful upload it to the target, open a debug session and pause at the start of `main()`.
4646

4747
> VSCode has some background work to do the first time through. If appears to have stalled then leave it alone for at least a minute.
4848

pico_w/wifi/access_point/dhcpserver/dhcpserver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static void dhcp_server_process(void *arg, struct udp_pcb *upcb, struct pbuf *p,
283283

284284
opt_write_n(&opt, DHCP_OPT_SERVER_ID, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip)));
285285
opt_write_n(&opt, DHCP_OPT_SUBNET_MASK, 4, &ip4_addr_get_u32(ip_2_ip4(&d->nm)));
286-
opt_write_n(&opt, DHCP_OPT_ROUTER, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip))); // aka gateway; can have mulitple addresses
286+
opt_write_n(&opt, DHCP_OPT_ROUTER, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip))); // aka gateway; can have multiple addresses
287287
opt_write_n(&opt, DHCP_OPT_DNS, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip))); // this server is the dns
288288
opt_write_u32(&opt, DHCP_OPT_IP_LEASE_TIME, DEFAULT_LEASE_TIME_S);
289289
*opt++ = DHCP_OPT_END;

pico_w/wifi/access_point/dnsserver/dnsserver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static void dns_server_process(void *arg, struct udp_pcb *upcb, struct pbuf *p,
202202

203203
dns_hdr->flags = lwip_htons(
204204
0x1 << 15 | // QR = response
205-
0x1 << 10 | // AA = authoritive
205+
0x1 << 10 | // AA = authoritative
206206
0x1 << 7); // RA = authenticated
207207
dns_hdr->question_count = lwip_htons(1);
208208
dns_hdr->answer_record_count = lwip_htons(1);

pico_w/wifi/python_test_tcp/python_test_tcp_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import random
44
import socket
55

6-
# Set server adress to machines IP
6+
# Set server address to machines IP
77
SERVER_ADDR = "0.0.0.0"
88

99
# These constants should match the client

pio/ir_nec/README.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This example shows how to use the Raspberry Pi Pico (RP2040) to send and receive infra-red frames in the 'NEC' format that is used by many consumer remote control applications.
44

5-
It performs a loopback test by transmitting IR codes via an IR LED and receiving them on an IR detector. The results are sent to the default serial terminal connnected via UART or USB as configured in the SDK.
5+
It performs a loopback test by transmitting IR codes via an IR LED and receiving them on an IR detector. The results are sent to the default serial terminal connected via UART or USB as configured in the SDK.
66

77
The tasks of encoding and decoding the data are offloaded to the RP2040 PIO state machines. This releases the main processor cores to concentrate on other tasks.
88

pio/ir_nec/nec_receive_library/nec_receive.pio

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
; The input pin should be connected to an IR detector with an 'active low' output.
1313
;
1414
; This program expects there to be 10 state machine clock ticks per 'normal' 562.5us burst period
15-
; in order to permit timely detection of start of a burst. The initailisation function below sets
16-
; the correct divisor to achive this relative to the system clock.
15+
; in order to permit timely detection of start of a burst. The initialisation function below sets
16+
; the correct divisor to achieve this relative to the system clock.
1717
;
1818
; Within the 'NEC' protocol frames consists of 32 bits sent least-siginificant bit first; so the
1919
; Input Shift Register should be configured to shift right and autopush after 32 bits, as in the

pio/ir_nec/nec_transmit_library/nec_transmit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "nec_carrier_control.pio.h"
1818

1919
// Claim an unused state machine on the specified PIO and configure it
20-
// to transmit NEC IR frames on the specificied GPIO pin.
20+
// to transmit NEC IR frames on the specified GPIO pin.
2121
//
2222
// Returns: on success, the number of the carrier_control state machine
2323
// otherwise -1

rtc/hello_rtc/hello_rtc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int main() {
3333
rtc_set_datetime(&t);
3434

3535
// clk_sys is >2000x faster than clk_rtc, so datetime is not updated immediately when rtc_get_datetime() is called.
36-
// tbe delay is up to 3 RTC clock cycles (which is 64us with the default clock settings)
36+
// The delay is up to 3 RTC clock cycles (which is 64us with the default clock settings)
3737
sleep_us(64);
3838

3939
// Print the time

spi/mpu9250_spi/mpu9250_spi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
inbuilt FIFO to make it more useful.
1919
2020
NOTE: Ensure the device is capable of being driven at 3.3v NOT 5v. The Pico
21-
GPIO (and therefor SPI) cannot be used at 5v.
21+
GPIO (and therefore SPI) cannot be used at 5v.
2222
2323
You will need to use a level shifter on the I2C lines if you want to run the
2424
board at 5v.

0 commit comments

Comments
 (0)