Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Nov 12, 2024
1 parent 304a4e2 commit 67d026e
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 5 deletions.
4 changes: 4 additions & 0 deletions _data/sidebars/picoruby_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ entries:
url: "/Base64.html"
output: web pdf
type: homepage
- title: class CYW43::ConnectTimeout
url: "/CYW43_ConnectTimeout.html"
output: web pdf
type: homepage
- title: class Data
url: "/Data.html"
output: web pdf
Expand Down
4 changes: 2 additions & 2 deletions pages/rbs_doc/CYW43.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ permalink: CYW43.html
folder: rbs_doc
---
## Singleton methods
### connect_blocking
### connect_timeout

```ruby
CYW43.connect_blocking(String ssid, String password, Integer augh) -> bool
CYW43.connect_timeout(String ssid, String password, Integer augh, ?Integer timeout) -> bool
```
### disable_sta_mode

Expand Down
9 changes: 9 additions & 0 deletions pages/rbs_doc/CYW43_ConnectTimeout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: class CYW43::ConnectTimeout
keywords: CYW43::ConnectTimeout
tags: [class]
summary: CYW43::ConnectTimeout class of PicoRuby
sidebar: picoruby_sidebar
permalink: CYW43_ConnectTimeout.html
folder: rbs_doc
---
10 changes: 10 additions & 0 deletions pages/rbs_doc/FAT_File.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ instance.fsync() -> 0
```ruby
instance.gets() -> String?
```
### physical_address

```ruby
instance.physical_address() -> Integer
```
### puts

```ruby
Expand All @@ -54,6 +59,11 @@ instance.puts(*String) -> nil
```ruby
instance.read(?Integer size) -> String?
```
### sector_size

```ruby
instance.sector_size() -> Integer
```
### seek

```ruby
Expand Down
11 changes: 11 additions & 0 deletions pages/rbs_doc/File.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,14 @@ instance.tell() -> Integer
```ruby
instance.write(*String string) -> Integer
```
## Instance methods
### physical_address

```ruby
instance.physical_address() -> Integer
```
### sector_size

```ruby
instance.sector_size() -> Integer
```
5 changes: 5 additions & 0 deletions pages/rbs_doc/Machine.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Machine.deep_sleep(Integer gpio_pin, bool edge, bool high) -> 0
```ruby
Machine.delay_ms(Integer ms) -> Integer
```
### read_memory

```ruby
Machine.read_memory(Integer address, Integer size) -> String
```
### sleep

```ruby
Expand Down
2 changes: 1 addition & 1 deletion pages/rbs_doc/PicoLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ folder: rbs_doc
### ask

```ruby
instance.ask(String) ?{ (Question) -> void } -> String
instance.ask(String, ?allow_empty: bool) ?{ (Question) -> void } -> String
```
## Attr accessors
### default (accessor)
Expand Down
14 changes: 12 additions & 2 deletions pages/rbs_doc/Sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,22 @@ Sandbox.new(?bool suppress_error) -> instance
### compile

```ruby
instance.compile(String) -> bool
instance.compile(String script) -> bool
```
### compile_from_memory

```ruby
instance.compile_from_memory(Integer address, Integer size) -> bool
```
### exec_mrb

```ruby
instance.exec_mrb(String) -> bool
instance.exec_mrb(String mrb) -> bool
```
### exec_mrb_from_memory

```ruby
instance.exec_mrb_from_memory(Integer address) -> bool
```
### execute

Expand Down
11 changes: 11 additions & 0 deletions pages/rbs_doc/VFS_File.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,14 @@ VFS::File.open(String path, String mode) -> file_t
```ruby
VFS::File.utime(Time atime, Time mtime, *String filename) -> Integer
```
## Instance methods
### physical_address

```ruby
instance.physical_address() -> Integer
```
### sector_size

```ruby
instance.sector_size() -> Integer
```

0 comments on commit 67d026e

Please sign in to comment.