@@ -128,7 +128,7 @@ See :ref:`machine.UART <machine.UART>`. ::
128
128
uart1.read(5) # read up to 5 bytes
129
129
130
130
The i.MXRT has up to eight hardware UARTs, but not every board exposes all
131
- TX and RX pins for users. The pin assignment of uarts to pins is fixed.
131
+ TX and RX pins for users. The pin assignment of UARTs to pins is fixed.
132
132
The UARTs are numbered 1..8. The rx/tx pins are assigned according to the
133
133
table below:
134
134
@@ -147,7 +147,7 @@ MIXMXRT1064-EVK D0/D1 D7/D6 D8/D9 A1/A0 - - -
147
147
ADC (analog to digital conversion)
148
148
----------------------------------
149
149
150
- On the i.MXRT ADC functionality is available on Pins labelled 'Ann'.
150
+ On the i.MXRT ADC functionality is available on Pins labeled 'Ann'.
151
151
152
152
Use the :ref: `machine.ADC <machine.ADC >` class::
153
153
@@ -188,7 +188,7 @@ Software SPI (using bit-banging) works on all pins, and is accessed via the
188
188
spi.write_readinto(b'1234', buf) # write to MOSI and read from MISO into the buffer
189
189
spi.write_readinto(buf, buf) # write buf to MOSI and read MISO back into buf
190
190
191
- The highest supported baudrate is 500000.
191
+ The highest supported baud rate is 500000.
192
192
193
193
.. Warning ::
194
194
Currently *all * of ``sck ``, ``mosi `` and ``miso `` *must * be specified when
@@ -227,8 +227,8 @@ has the same methods as software SPI above::
227
227
Notes:
228
228
229
229
1. Even if the highest supported baud rate at the moment is 90 Mhz,
230
- setting a baudrate will not always result in exactly that
231
- frequency, especially at high baudrates .
230
+ setting a baud rate will not always result in exactly that
231
+ frequency, especially at high baud rates .
232
232
233
233
2. Sending at 90 MHz is possible, but in the tests receiving
234
234
only worked up to 45 MHz.
@@ -281,7 +281,7 @@ has the same methods as software SPI above::
281
281
282
282
from machine import I2C
283
283
284
- i2c = I"C (0, 400_000)
284
+ i2c = I2C (0, 400_000)
285
285
i2c.writeto(0x76, b"Hello World")
286
286
287
287
Real time clock (RTC)
@@ -296,9 +296,9 @@ See :ref:`machine.RTC <machine.RTC>` ::
296
296
rtc.datetime() # get date and time
297
297
rtc.now() # return date and time in CPython format.
298
298
299
- The i.MXRT mcu supports battery backup of the RTC. By connecting a battery of 1.5-3.6V,
299
+ The i.MXRT MCU supports battery backup of the RTC. By connecting a battery of 1.5-3.6V,
300
300
time and date are maintained in the absence of the main power. The current drawn
301
- from the battery is ~20µA, which is rather high. A CR2032 coin cell would
301
+ from the battery is ~20µA, which is rather high. A CR2032 coin cell will
302
302
last for about one year.
303
303
304
304
@@ -366,6 +366,13 @@ The DHT driver is implemented in software and works on all pins::
366
366
d.temperature() # eg. 23.6 (°C)
367
367
d.humidity() # eg. 41.3 (% RH)
368
368
369
+ Be sure to have a 4.7k pull-up resistor on the data line. Some
370
+ DHT module have that alreayd on their board.
369
371
370
- See the MicroPython forum for other community-supported alternatives
371
- to transfer files to an i.MXRT board.
372
+ Transferring files
373
+ ------------------
374
+
375
+ Files can be transferred to the i.MXRT for instance with the mpremote
376
+ tool or using an SD card. See the MicroPython forum for other
377
+ community-supported alternatives to transfer files to an i.MXRT board,
378
+ like rshell or Thonny.
0 commit comments