Skip to content

Commit 9ee24a4

Browse files
fix small mistake about backslash.
1 parent ae1b97a commit 9ee24a4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mruby_io_SPI_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Example of use:
7777

7878
```ruby
7979
spi.write( 0x30, 0xa2 )
80-
spi.write( "\\x30\\xa2" )
80+
spi.write( "\x30\xa2" )
8181
i2c.write( 0x02, 0xee, 0xad, 0x00, data_string ) # useful for EEPROM
8282
```
8383

mruby_io_SPI_ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ data = spi.read( 32 )
7777

7878
```ruby
7979
spi.write( 0x30, 0xa2 )
80-
spi.write( "\\x30\\xa2" )
80+
spi.write( "\x30\xa2" )
8181
i2c.write( 0x02, 0xee, 0xad, 0x00, data_string ) # useful for EEPROM
8282
```
8383

mruby_io_UART_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Note
9999
Example of use:
100100

101101
```ruby
102-
uart1.write("Output string\\r\\n")
102+
uart1.write("Output string\r\n")
103103
```
104104

105105
Device-specific

mruby_io_UART_ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ val = uart1.read( 10 )
9999
実行例
100100

101101
```ruby
102-
uart1.write("Output string\\r\\n")
102+
uart1.write("Output string\r\n")
103103
```
104104

105105
機種依存

0 commit comments

Comments
 (0)