Commit Graph

76 Commits

Author SHA1 Message Date
Guy McSwain f51cd7e950 Fix GPIO for BSC SPI in slave mode and update doc sources. 2020-12-23 23:08:11 -06:00
Guy McSwain 258b034512 PR#415 fix simple type receieve -> receive 2020-12-18 19:48:49 -06:00
Guy McSwain c7c561177d Sync versions for next release (78). 2020-09-29 10:19:49 -05:00
Guy McSwain 11c75ee5ea Fix issue #356, document wave_tx_at API is not supported on chained waves. 2020-06-26 13:25:59 -05:00
Guy McSwain 9fe95e831c Fix issue #355, python module event_callback documentation. 2020-06-26 13:25:59 -05:00
Guy McSwain c80201f964 Fix doc generation warnings and other doc source corrections. 2020-04-30 09:55:43 -05:00
Guy McSwain 2cd0e135e1 Generate docs and make corrections. 2020-04-29 23:43:20 -05:00
Guy McSwain 038be60398 Allow creation of two waves with 50% padding using gpioWaveCreatePad.
- gpioWaveCreatePad takes three arguments: %CB, %BOOL, %TOOL
- gpioWaveCreatePad checks range of arguments
- gpioWaveCreatePad checks dimension of wave fits inside padding
- wave2Cbs takes three arguments: numCB, numBOOL, numTOOL
- socket command PI_CMD_WVCAP is variadic
2020-03-12 09:44:41 -05:00
Jul3k a9f5dc17d9 Added wave_create_and_pad to pigpio.py 2020-03-05 18:26:08 +01:00
Jul3k 773378fd24 Reverte added site paramezer in wave_create 2020-03-05 14:02:26 +01:00
Guy McSwain f4a4b9772f Wave create using fixed size CB, OOL 2020-03-03 23:13:57 -06:00
joan2937 4753b0d37c Code for BSC I2C/SPI slave on the BCM2711 (PI4B)
Added documentation for callback usage
2020-03-01 13:35:16 +00:00
joan2937 adf7caeff5 V71+: tidy up documentation overviews 2019-11-27 18:44:25 +00:00
joan2937 f660834a7a V69+: BCM2711 PLLD 500->750 MHz Crystal 19.2->54M 2019-07-14 20:47:20 +01:00
joan2937 5b416b699b V69+: #280 SPI/BSC SLAVE peripheral not available on BCM2711 2019-07-07 12:52:44 +01:00
joan bb352d2000 V68 2018-10-21 09:34:40 +01:00
joan f99a4c7224 Merge branch 'bennuttall-pi-repr' of https://github.com/bennuttall/pigpio into bennuttall-bennuttall-pi-repr 2018-10-21 09:29:59 +01:00
joan 3e90383499 V67+: tided up I2C/SPI documentation 2018-10-21 08:54:37 +01:00
Ben Nuttall 559bb73802 Add repr to pi class 2018-10-08 11:20:13 +01:00
joan 934874be2f V67: use with for Python locks, show_errors flag 2018-03-20 18:39:50 +00:00
joan 5981d495cc V66: #178 update script parameters command PROCU 2018-02-13 09:14:28 +00:00
joan f83c93066e wave delete comments 2018-02-08 18:48:33 +00:00
joan a41d63493b Issues #131 and #141 2018-02-06 16:01:45 +00:00
joan 5e49e8b1a3 Merge branch 'issue-189' of https://github.com/maihde/pigpio into maihde-issue-189 2018-02-04 10:21:38 +00:00
joan e3a7548f4e Refine error handling approach 2018-02-04 10:18:55 +00:00
joan 512f261db0 Merge branch 'master' of https://github.com/damienstuart/pigpio into damienstuart-master 2018-02-04 10:16:55 +00:00
Michael fb081b7cf6 Address #189 ensuring socket locks are released
The code previous assume exception-free execution of critical blocks
between lock acquire() and lock release(); however, in Python exceptions
can be thrown in many situations which would then result in a dead-lock
of the entire program using pigpio.

This is resolved by using the acquire/try/finally/release pattern to
ensure that the lock is always released, even when an exception occurs.

Also addresses #186, but takes a slightly different approach by using
RLock to handle the nested lock requirement, which overall should be
safer because it handles additional situations that can cause a
deadlock.
2018-01-31 07:07:00 -05:00
Damien Stuart cc559a7e50 Ensure the lock is released if there is an exception on socket I/O. 2017-12-31 16:00:57 -05:00
TheRaspyDev 51e7df2b6c Merge branch 'master' of https://github.com/joan2937/pigpio
# Conflicts:
#	pigpio.c
2017-05-19 10:13:40 +02:00
TheRaspyDev e1b7d8c508 Fixing command line arguments for new option -m 2017-05-19 10:01:51 +02:00
joan 1aa4cca8a6 V64 2017-05-14 18:13:41 +01:00
joan f032029bf9 V63 2017-05-13 14:22:02 +01:00
joan 114653357b V61 2017-02-19 11:28:15 +00:00
Floris Bos 7eec4b6c88 Add basic IPv6 support
Add IPv6 support to daemon and python library.
IPv6 was already supported by the C client library.

Currently there is no support for whitelisting IPv6 client
addresses implemented, so for now it reverts to listening
to IPv4 only when the -n <ip> option is specified.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
2017-02-17 15:36:48 +01:00
joan a939b8b0e6 V59 2016-12-22 18:07:09 +00:00
joan c31a2fa6b2 V57 2016-10-30 15:30:20 +00:00
joan abe5f12942 V56 2016-09-22 14:12:26 +01:00
BjoernSch c5a1cc5e35 Adding constants for spiFlags
Added several constants to ease SPI configuration
2016-08-10 20:51:00 +02:00
BjoernSch 735c87342e Changed default mode to 0
Should be the most common mode
2016-08-09 20:04:42 +02:00
BjoernSch 4d3ac5e66b Added (some) missing documentation
The man page is still missing the new functions
2016-08-09 13:19:40 +02:00
BjoernSch c91dbb5220 Added Software SPI
Added Software SPI:
bbSPIopen
bbSPIclose
bbSPIxfer
Some documentation is not finished yet.
2016-08-06 12:18:17 +02:00
joan f9e24d568b V55 2016-07-10 21:29:14 +01:00
joan 3b56709a0e V53 2016-05-31 18:44:12 +01:00
joan be8beba544 V48 2016-03-08 14:28:15 +00:00
joan 46eb4d6056 V47 2016-03-01 21:41:36 +00:00
joan 89fca37587 V46 2016-02-18 21:51:10 +00:00
joan ab3725839f V44 2016-02-06 18:46:07 +00:00
joan 251ed80f5e V43 2015-12-31 17:01:34 +00:00
joan 92bd13d857 V40 2015-11-10 14:57:12 +00:00
joan b140e1aa74 V39 2015-10-28 11:06:53 +00:00