mirror of https://github.com/joan2937/pigpio
V64
This commit is contained in:
parent
f032029bf9
commit
1aa4cca8a6
2
pigpio.c
2
pigpio.c
|
@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
||||||
For more information, please refer to <http://unlicense.org/>
|
For more information, please refer to <http://unlicense.org/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* pigpio version 63 */
|
/* pigpio version 64 */
|
||||||
|
|
||||||
/* include ------------------------------------------------------- */
|
/* include ------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
2
pigpio.h
2
pigpio.h
|
@ -31,7 +31,7 @@ For more information, please refer to <http://unlicense.org/>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#define PIGPIO_VERSION 63
|
#define PIGPIO_VERSION 64
|
||||||
|
|
||||||
/*TEXT
|
/*TEXT
|
||||||
|
|
||||||
|
|
15
pigpio.py
15
pigpio.py
|
@ -299,7 +299,7 @@ import threading
|
||||||
import os
|
import os
|
||||||
import atexit
|
import atexit
|
||||||
|
|
||||||
VERSION = "1.37"
|
VERSION = "1.38"
|
||||||
|
|
||||||
exceptions = True
|
exceptions = True
|
||||||
|
|
||||||
|
@ -1054,7 +1054,7 @@ class _callback_thread(threading.Thread):
|
||||||
self.callbacks = []
|
self.callbacks = []
|
||||||
self.events = []
|
self.events = []
|
||||||
self.sl.s = socket.create_connection((host, port), None)
|
self.sl.s = socket.create_connection((host, port), None)
|
||||||
self.lastLevel = _u2i(_pigpio_command(self.sl, _PI_CMD_BR1, 0, 0))
|
self.lastLevel = _pigpio_command(self.sl, _PI_CMD_BR1, 0, 0)
|
||||||
self.handle = _u2i(_pigpio_command(self.sl, _PI_CMD_NOIB, 0, 0))
|
self.handle = _u2i(_pigpio_command(self.sl, _PI_CMD_NOIB, 0, 0))
|
||||||
self.go = True
|
self.go = True
|
||||||
self.start()
|
self.start()
|
||||||
|
@ -4468,8 +4468,9 @@ class pi():
|
||||||
file_name:= the file to open.
|
file_name:= the file to open.
|
||||||
file_mode:= the file open mode.
|
file_mode:= the file open mode.
|
||||||
|
|
||||||
Returns a handle (>=0) if OK, otherwise PI_NO_HANDLE, PI_NO_FILE_ACCESS,
|
Returns a handle (>=0) if OK, otherwise PI_NO_HANDLE,
|
||||||
PI_BAD_FILE_MODE, PI_FILE_OPEN_FAILED, or PI_FILE_IS_A_DIR.
|
PI_NO_FILE_ACCESS, PI_BAD_FILE_MODE,
|
||||||
|
PI_FILE_OPEN_FAILED, or PI_FILE_IS_A_DIR.
|
||||||
|
|
||||||
...
|
...
|
||||||
h = pi.file_open("/home/pi/shared/dir_3/file.txt",
|
h = pi.file_open("/home/pi/shared/dir_3/file.txt",
|
||||||
|
@ -4482,9 +4483,9 @@ class pi():
|
||||||
|
|
||||||
File
|
File
|
||||||
|
|
||||||
A file may only be opened if permission is granted by an entry in
|
A file may only be opened if permission is granted by an entry
|
||||||
/opt/pigpio/access. This is intended to allow remote access to files
|
in /opt/pigpio/access. This is intended to allow remote access
|
||||||
in a more or less controlled manner.
|
to files in a more or less controlled manner.
|
||||||
|
|
||||||
Each entry in /opt/pigpio/access takes the form of a file path
|
Each entry in /opt/pigpio/access takes the form of a file path
|
||||||
which may contain wildcards followed by a single letter permission.
|
which may contain wildcards followed by a single letter permission.
|
||||||
|
|
2
pigs.1
2
pigs.1
|
@ -1629,7 +1629,7 @@ The GPIO must be one of the following.
|
||||||
5 clock 1 All models but A and B (reserved for system use)
|
5 clock 1 All models but A and B (reserved for system use)
|
||||||
6 clock 2 All models but A and B
|
6 clock 2 All models but A and B
|
||||||
20 clock 0 All models but A and B
|
20 clock 0 All models but A and B
|
||||||
21 clock 1 All models but A and B (Rev. 2) (reserved for system use)
|
21 clock 1 All models but A and B Rev.2 (reserved for system use)
|
||||||
|
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -3,7 +3,7 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
setup(name='pigpio',
|
setup(name='pigpio',
|
||||||
version='1.37',
|
version='1.38',
|
||||||
author='joan',
|
author='joan',
|
||||||
author_email='joan@abyz.co.uk',
|
author_email='joan@abyz.co.uk',
|
||||||
maintainer='joan',
|
maintainer='joan',
|
||||||
|
|
Loading…
Reference in New Issue