mirror of https://github.com/joan2937/pigpio
This commit is contained in:
parent
e56a520873
commit
a58a98d17b
4
pigpio.c
4
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 8 */
|
/* pigpio version 9 */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -583,7 +583,7 @@ typedef struct
|
||||||
callbk_t func;
|
callbk_t func;
|
||||||
unsigned ex;
|
unsigned ex;
|
||||||
void * userdata;
|
void * userdata;
|
||||||
unsigned timeout;
|
int timeout;
|
||||||
uint32_t tick;
|
uint32_t tick;
|
||||||
} gpioAlert_t;
|
} gpioAlert_t;
|
||||||
|
|
||||||
|
|
6
pigpio.h
6
pigpio.h
|
@ -26,7 +26,7 @@ For more information, please refer to <http://unlicense.org/>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This version is for pigpio version 8
|
This version is for pigpio version 9
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PIGPIO_H
|
#ifndef PIGPIO_H
|
||||||
|
@ -84,7 +84,7 @@ This version is for pigpio version 8
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define PIGPIO_VERSION 8
|
#define PIGPIO_VERSION 9
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*/
|
/*-------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
@ -841,7 +841,7 @@ int gpioWaveClear(void);
|
||||||
The fields specify
|
The fields specify
|
||||||
|
|
||||||
1) the gpios to be switched on at the start of the pulse.
|
1) the gpios to be switched on at the start of the pulse.
|
||||||
2) the gpios to be switched off at the end of the pulse.
|
2) the gpios to be switched off at the start of the pulse.
|
||||||
3) the delay in microseconds before the next pulse.
|
3) the delay in microseconds before the next pulse.
|
||||||
|
|
||||||
Any or all the fields can be zero. It doesn't make any sense to
|
Any or all the fields can be zero. It doesn't make any sense to
|
||||||
|
|
Loading…
Reference in New Issue