fix delimiters after list
This commit is contained in:
parent
f2babb9c81
commit
ebcf6b771e
|
@ -49,6 +49,7 @@ Format the file system. Completely erases any existing file system and writes a
|
|||
|
||||
####See also
|
||||
- `file.remove()`
|
||||
|
||||
___
|
||||
## file.list()
|
||||
|
||||
|
@ -147,6 +148,7 @@ When done with the file, it must be closed using `file.close()`.
|
|||
####See also
|
||||
- `file.close()`
|
||||
- `file.readline()`
|
||||
|
||||
___
|
||||
## file.close()
|
||||
|
||||
|
@ -171,6 +173,7 @@ Closes the open file, if any.
|
|||
```
|
||||
####See also
|
||||
- `file.open()`
|
||||
|
||||
___
|
||||
## file.readline()
|
||||
|
||||
|
@ -197,6 +200,7 @@ File content in string, line by line, include EOL('\n'). Return `nil` when EOF.
|
|||
- `file.open()`
|
||||
- `file.close()`
|
||||
- `file.read()`
|
||||
|
||||
___
|
||||
## file.writeline()
|
||||
|
||||
|
@ -224,6 +228,7 @@ Write a string to the open file and append '\n' at the end.
|
|||
####See also
|
||||
- `file.open()`
|
||||
- `file.readline()`
|
||||
|
||||
___
|
||||
## file.read()
|
||||
|
||||
|
@ -256,6 +261,7 @@ File content in string, or nil when EOF.
|
|||
####See also
|
||||
- `file.open()`
|
||||
- `file.readline()`
|
||||
|
||||
___
|
||||
## file.write()
|
||||
|
||||
|
@ -283,6 +289,7 @@ Write a string to the open file.
|
|||
####See also
|
||||
- `file.open()`
|
||||
- `file.writeline()`
|
||||
|
||||
___
|
||||
## file.flush()
|
||||
|
||||
|
@ -310,6 +317,7 @@ Flushes any pending writes to the file system, ensuring no data is lost on a res
|
|||
```
|
||||
####See also
|
||||
- `file.close()`
|
||||
|
||||
___
|
||||
## file.seek()
|
||||
Sets and gets the file position, measured from the beginning of the file, to the position given by offset plus a base specified by the string whence.
|
||||
|
@ -339,4 +347,5 @@ The resulting file position, or `nil` on error.
|
|||
```
|
||||
####See also
|
||||
- `file.open()`
|
||||
|
||||
___
|
||||
|
|
|
@ -41,6 +41,7 @@ gpio.mode(0, gpio.OUTPUT)
|
|||
####See also
|
||||
- `gpio.read()`
|
||||
- `gpio.write()`
|
||||
|
||||
___
|
||||
## gpio.read()
|
||||
|
||||
|
@ -62,6 +63,7 @@ gpio.read(0)
|
|||
```
|
||||
####See also
|
||||
- `gpio.mode()`
|
||||
|
||||
___
|
||||
## gpio.write ()
|
||||
|
||||
|
@ -87,6 +89,7 @@ gpio.write(pin, gpio.HIGH)
|
|||
####See also
|
||||
- `gpio.mode()`
|
||||
- `gpio.read()`
|
||||
|
||||
___
|
||||
## gpio.trig()
|
||||
|
||||
|
@ -126,6 +129,7 @@ gpio.trig(pin, "down", pin1cb)
|
|||
```
|
||||
####See also
|
||||
- `gpio.mode()`
|
||||
|
||||
___
|
||||
## gpio.serout()
|
||||
|
||||
|
|
|
@ -189,6 +189,7 @@ This function is only available if the firmware was compiled with DEVKIT_VERSION
|
|||
```
|
||||
####See also
|
||||
- `node.led()`
|
||||
|
||||
___
|
||||
## node.led() --deprecated
|
||||
|
||||
|
@ -215,6 +216,7 @@ This function is only available if the firmware was compiled with DEVKIT_VERSION
|
|||
|
||||
####See also
|
||||
- `node.key()`
|
||||
|
||||
___
|
||||
## node.input()
|
||||
|
||||
|
@ -241,6 +243,7 @@ Submit a string to the Lua interpreter. Similar to `pcall(loadstring(str))`, but
|
|||
|
||||
####See also
|
||||
- `node.output()`
|
||||
|
||||
___
|
||||
## node.output()
|
||||
|
||||
|
@ -291,10 +294,12 @@ Redirects the Lua interpreter output to a callback function. Optionally also pri
|
|||
```
|
||||
####See also
|
||||
- `node.input()`
|
||||
|
||||
___
|
||||
## node.readvdd33() --deprecated, moved to adc.readvdd33()
|
||||
####See also
|
||||
- `adc.readvdd33()`
|
||||
|
||||
___
|
||||
## node.compile()
|
||||
|
||||
|
@ -393,4 +398,5 @@ node.compile('bigstuff.lua')
|
|||
|
||||
####See also
|
||||
- `node.compile()`
|
||||
|
||||
___
|
||||
|
|
|
@ -43,6 +43,7 @@ rtcfifo.prepare({storage_begin=21, storage_end=128}) -- Use RTC slots 19 and up
|
|||
```
|
||||
####See also
|
||||
- `rtcfifo.ready()`
|
||||
|
||||
___
|
||||
## rtcfifo.ready()
|
||||
|
||||
|
@ -64,6 +65,7 @@ end
|
|||
```
|
||||
####See also
|
||||
- `rtcfifo.prepare()`
|
||||
|
||||
___
|
||||
## rtcfifo.put()
|
||||
|
||||
|
@ -156,4 +158,5 @@ rtcfifo.dsleep_until_sample(0) -- deep sleep until it's time to take the next sa
|
|||
```
|
||||
####See also
|
||||
- `rtctime.dsleep_aligned()`
|
||||
|
||||
___
|
||||
|
|
|
@ -34,6 +34,7 @@ val1, val2 = rtcmem.read32(42, 2) -- Read the values in slots 42 and 43
|
|||
```
|
||||
####See also
|
||||
- `rtcmem.write32()`
|
||||
|
||||
___
|
||||
## rtcmem.write32()
|
||||
|
||||
|
@ -59,4 +60,5 @@ rtcmem.write32(42, 2, 5, 7) -- Store the values 2, 5 and 7 into slots 42, 43 and
|
|||
```
|
||||
####See also
|
||||
- `rtcmem.read32()`
|
||||
|
||||
___
|
||||
|
|
|
@ -44,6 +44,7 @@ rtctime.set(1436430589, 0) -- Set time to 2015 July 9, 18:29:49
|
|||
```
|
||||
####See also
|
||||
- `sntp.sync()`
|
||||
|
||||
___
|
||||
## rtctime.get()
|
||||
|
||||
|
@ -66,6 +67,7 @@ sec, usec = rtctime.get()
|
|||
```
|
||||
####See also
|
||||
- `rtctime.set()`
|
||||
|
||||
___
|
||||
## rtctime.dsleep()
|
||||
|
||||
|
|
|
@ -40,4 +40,5 @@ sntp.sync('192.168.0.1',
|
|||
```
|
||||
####See also
|
||||
- `rtctime.set()`
|
||||
|
||||
___
|
||||
|
|
|
@ -40,6 +40,7 @@ tmr.start(0)
|
|||
```
|
||||
####See also
|
||||
- `tmr.alarm()`
|
||||
|
||||
___
|
||||
## tmr.unregister()
|
||||
|
||||
|
@ -62,6 +63,7 @@ tmr.unregister(0)
|
|||
```
|
||||
####See also
|
||||
- `tmr.register()`
|
||||
|
||||
___
|
||||
## tmr.start()
|
||||
|
||||
|
@ -85,6 +87,7 @@ if not tmr.start(0) then print("uh oh") end
|
|||
- `tmr.register()`
|
||||
- `tmr.stop()`
|
||||
- `tmr.unregister()`
|
||||
|
||||
___
|
||||
## tmr.stop()
|
||||
|
||||
|
@ -107,6 +110,7 @@ if not tmr.stop(2) then print("timer 2 not stopped, not registered?") end
|
|||
- `tmr.register()`
|
||||
- `tmr.stop()`
|
||||
- `tmr.unregister()`
|
||||
|
||||
___
|
||||
## tmr.interval()
|
||||
|
||||
|
@ -173,6 +177,7 @@ if not tmr.alarm(0, 5000, tmr.ALARM_SINGLE, function() print("hey there") end) t
|
|||
- `tmr.register()`
|
||||
- `tmr.start()`
|
||||
- `tmr.unregister()`
|
||||
|
||||
___
|
||||
## tmr.now()
|
||||
|
||||
|
|
Loading…
Reference in New Issue