1
0
mirror of https://github.com/richardghirst/PiBits.git synced 2025-02-26 19:54:16 +01:00

Commit Graph

  • 048e9a140d better co-operate with autotools Boyuan Yang 2015-06-13 22:30:32 +08:00
  • 9b9e60d95c eliminating compile warnings. Boyuan Yang 2015-06-13 22:19:52 +08:00
  • 98095e22cb write .gitignore file Boyuan Yang 2015-06-13 21:32:13 +08:00
  • 2cd66591c2 Merge pull request #41 from thorwald/systemd-forking Thomas Sarlandie 2015-05-18 10:57:02 -07:00
  • cdc0c7649d add Type=forking to systemd service file Thorwald Lundqvist 2015-05-18 18:05:35 +02:00
  • 0684e8f321 Merge pull request #38 from phueper/master Thomas Sarlandie 2015-04-15 11:29:54 +02:00
  • 50ceb38329 add link to source file for mailbox.[ch] Pattrick Hueper 2015-04-15 08:42:49 +02:00
  • e131915004 read and print info from mailbox DMA Channels command, print the (hardcoded) DMA Channel we use Pattrick Hueper 2015-04-15 08:42:21 +02:00
  • a87119cdd4 add myself to contributors Pattrick Hueper 2015-04-09 10:15:59 +02:00
  • 13b983c38a Fixed support for rev 2 boards. Martin Habovštiak 2015-04-02 20:56:21 +02:00
  • 3b93b215ce fix problems with X while running pi-blaster... X seems to be trying to use DMA Channel 0, but pi-blaster is using it as well... that causes problems with starting X, moving windows, ... added a define to use a different DMA Channel (14 by default) to create the PWM signals Pattrick Hueper 2015-03-31 18:10:54 +02:00
  • c7ab115510 Added support for B+ Martin Habovštiak 2015-03-31 09:47:31 +02:00
  • b69db74a3c update debug code Pattrick Hueper 2015-03-26 23:11:09 +01:00
  • ef8b97c6af finally figured out the problem with Pi2 frequency... the phys_fifo_addr calculation was wrong... it worked by chance on the Pi2 since the phys_offset masks the bits of the virt_addr_offset, but does not on the Pi2... so i introduced defines for physical base addresses like servoblaster does. Pattrick Hueper 2015-03-26 21:01:26 +01:00
  • 7465c7cb25 debugging code to figure out why the PWM frequency is too high :( Pattrick Hueper 2015-03-24 08:45:04 +01:00
  • 4cabef38e1 debug code Pattrick Hueper 2015-02-25 14:11:44 +01:00
  • 5caf81e802 fix terminate Pattrick Hueper 2015-02-25 14:11:13 +01:00
  • ddc7a5805b move model detection to revision from mbox, add defines Pattrick Hueper 2015-02-25 11:57:43 +01:00
  • 9a8aa16b3f add functions to get firmware revision, board model, board revision, add defines for MEM_FLAGS from https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface Pattrick Hueper 2015-02-25 11:56:51 +01:00
  • 5304c125c4 cleanup Pattrick Hueper 2015-02-24 12:45:45 +01:00
  • 564863baea adapt servoblaster changes to pi-blaster, use the mbox to request memory Pattrick Hueper 2015-02-23 22:58:51 +01:00
  • 1cbd27e4d0 pi model detection and different base adresses, adapted from Servoblaster/servod.c Pattrick Hueper 2015-02-23 14:16:13 +01:00
  • b44170b9d5 Merge fec23361e4ef8756f816f5976dddf5b33a221ac1 into bf455ee13b9ec03f6678f2cbf6827b792cc570c0 David O 2015-02-08 03:39:05 +00:00
  • fec23361e4 [ServoBlaster] Added better Revision Detection Added dynamic reading of peripherals base reference (for PI2) David 2015-02-08 03:25:56 +01:00
  • efd8e7be61 Merge pull request #31 from hybridgroup/fix-pin-revision Thomas Sarlandie 2014-12-27 19:39:37 +01:00
  • df760b7979 Add known pins for both revisions, fix 'pin not known' error log. edgarsilva 2014-12-18 16:02:55 -06:00
  • 9dde759d66 The README says that the default is 0, but it's not true. David Murray 2014-09-08 15:56:31 -04:00
  • 485c939e07 Merge pull request #26 from LaraContrib/master Thomas Sarlandie 2014-07-01 12:22:48 -07:00
  • 8415c2e019 Update README Lara Maia 2014-07-01 15:37:37 -03:00
  • 47346c590c Update configure and makefile Lara Maia 2014-06-30 22:44:10 -03:00
  • d83c10cea1 Add systemd service Lara Maia 2014-06-30 21:11:23 -03:00
  • bac7e6cdc1 Merge pull request #25 from DynamicDevices/master Thomas Sarlandie 2014-06-14 14:06:04 -07:00
  • cc84f6300e autotools: Add autotools support for cross-compilation Alex J Lennon 2014-06-11 17:18:01 +01:00
  • e1c75f7bab Add dogecoin donation address Thomas Sarlandie 2014-06-01 16:57:16 -07:00
  • ccd7ee65ff Merge 961793f7a153cfb9852566256d85779dcfc9ba8a into bf455ee13b9ec03f6678f2cbf6827b792cc570c0 Andrey Chilikin 2014-04-14 19:57:51 +00:00
  • 961793f7a1 Updated Readme Andrey Chilikin 2014-04-14 20:57:45 +01:00
  • 9d142b226e Added new command line parameters --speed and --dir Added new servoctl commands 'set N speed Rim' and 'set N dir cw|ccw' Updated 'servoctl help' output Andrey Chilikin 2014-04-04 21:31:25 +01:00
  • 669ab3546a servod functionality separated to libservod.a Servo rotation can be set to CW so min pulse width will move servo to the leftmost position Servo rotation speed from min to amx position can be set in milliseconds gauge.py script added to calibrate servos, start gauge.py and hit 'h' for help New commands added to servoctl to support rotation speed Andrey Chilikin 2014-03-30 20:57:34 +01:00
  • 97f1826b5e merged with feat_files branch Andrey Chilikin 2014-03-22 18:00:42 +00:00
  • d7f7ccda64 Merge 3ac774e8c7d0e332523a3ad6a261b6b34b58a3a9 into bf455ee13b9ec03f6678f2cbf6827b792cc570c0 Andrey Chilikin 2014-03-22 16:43:45 +00:00
  • 702df3a040 Extra separation of functionality, arguments parsing moved to args.c file. Added ability to create list of servos without command line parameters, using only servod API. Socket can accept multiple commands separated by a comma servod.py demonstrates file ans socket command interface Andrey Chilikin 2014-03-22 16:38:13 +00:00
  • 3ac774e8c7 Merge branch 'feat_gpio' of github.com:achilikin/PiBits into feat_gpio Andrey Chilikin 2014-03-18 22:30:13 +00:00
  • 8f0e958971 servoctl added Andrey Chilikin 2014-03-18 22:15:38 +00:00
  • 44174c1510 Added new command line parameters --init and --port. --init specifies initial width values for servos: --init=servo:width,servo:width,... --port specifies TCP port to listen for commands, so servod can be controlled remotely. Simple netcat script 'servoctl' created to send commands to servod: servoctl <command> Edit servctl variables $ADDR and $PORT to access servod remotely. Supported commands so far: debug -> prints debug information stop -> terminates servod reset servo{N|Pin|Gpio} -> resets servo to initial position specified in --init set servo{N|Pin|Gpio} width{N|Nus|N%} -> sets servo pulse width get servo{N|Pin|Gpio} [info] -> gets servo current pulse width or dumps servo configuration Reworked go_go_go() function and helpers to handle commands from /dev/servoblaster file and from TCP. Andrey Chilikin 2014-03-18 22:01:11 +00:00
  • cb74fe582a read servo current position using #=?,?%,?us Andrey Chilikin 2014-03-16 00:28:17 +00:00
  • 12fb0c4084 Separated servod.c to servod.c/.h and main.c files, Makefile updated. Servo properties consolidated to servo_t typedef. New command line --min-max added to calibrate min/max width per servo: --min-max=servo:min-max{N|Nus|N%},servo:min-max{N|Nus|N%} For example: --min=50 --max=280 --min-max=0:58-265,1:60-278 Get/set writes to /dev/servoblaster can accept comma separated list: echo 0=50%,1=10% > /dev/servoblaster echo 1=?%,0=?% Andrey Chilikin 2014-03-17 21:37:36 +00:00
  • e30d39f81e Makefile updated to use CFLAGS Andrey Chilikin 2014-03-16 22:37:56 +00:00
  • 122ff77cc7 added gitignore and servod.py Andrey Chilikin 2014-03-16 22:33:51 +00:00
  • 2bf1a72a95 updated read request processing Andrey Chilikin 2014-03-16 17:35:08 +00:00
  • 85ed7e4585 Updated description Andrey Chilikin 2014-03-16 17:16:01 +00:00
  • 7b47dbce95 commented Andrey Chilikin 2014-03-16 17:07:43 +00:00
  • 5c738d7d53 restored 8 spaces tabs Andrey Chilikin 2014-03-16 16:52:50 +00:00
  • 5f8a7c4a61 read servo current position using #=?,?%,?us Andrey Chilikin 2014-03-16 00:28:17 +00:00
  • 2a8ad7729c added new command line parameter --gpio Andrey Chilikin 2014-03-15 23:10:42 +00:00
  • dc7a4df343 Fixed bad bracket position... pilatomic 2014-02-27 00:17:43 +01:00
  • 177cef8177 Merge pull request #22 from githubnemo/master Thomas Sarlandie 2014-02-25 00:10:21 -08:00
  • 012b242ecc Merge pull request #23 from githubnemo/flicker-fix Thomas Sarlandie 2014-02-21 00:44:33 -08:00
  • 085fad1dd4 Do not re-initialize GPIO pins every time nemo 2014-02-20 21:37:48 +01:00
  • af195a7908 Space indentation instead of tabs nemo 2014-02-20 16:37:30 +01:00
  • 50bf9f0344 Add revision detection nemo 2014-02-20 03:22:17 +01:00
  • bf455ee13b Add note to edit I2Cdev.cpp for Rev 2 boards Richard Hirst 2014-02-11 19:51:26 +00:00
  • e62579ecb7 Merge branch 'master' of https://github.com/richardghirst/PiBits Grab 6050 fix Richard Hirst 2014-01-03 10:11:20 +00:00
  • 2ea384c0c7 Oops, allow "=0" to turn off a servo output. Richard Hirst 2014-01-03 10:09:59 +00:00
  • 9ccfc5396d Merge pull request #23 from L31N/master richardghirst 2013-12-31 05:29:59 -08:00
  • e603254240 Rework to allow specifying cycle time and step increment, allow relative movements, allow specifying pulse widths in microseconds or as a percentage. Richard Hirst 2013-12-31 12:32:25 +00:00
  • 0a349ee600 fixed bug in MPU6050_6Axis_MotionApps20.h function uint8_t MPU6050::dmpInitialize() which caused an i2c-read error in case of an empty fifoCount. Daniel Belles 2013-12-23 00:53:34 +01:00
  • 1b78f9ad6b Fix special cases round setting widths of 0 and 100% Richard Hirst 2013-11-28 21:03:51 +00:00
  • 88e2aed995 Merge pull request #12 from hybridgroup/master Thomas Sarlandie 2013-11-14 10:12:52 -08:00
  • 2ea804036e Merge pull request #5 from hybridgroup/free-pins-start Adrian Zankich 2013-11-13 12:49:03 -08:00
  • f22e9e15f9 Make sure pwm pins are freed after ctrl_data calculates mask on piblaster start, so no pwm_write is needed to free the pins. Edgar O Silva 2013-11-12 21:28:06 -06:00
  • 96756b1aaa Fix couldn't calculate correct fequency mog422 2013-10-28 22:46:28 +09:00
  • 9e8f3ff471 Merge pull request #4 from hybridgroup/individual-pin-setup Ron Evans 2013-10-17 20:53:03 -07:00
  • 50462bed66 Set pin modes only when a new PWM pin is set, remove set pins mode from pwm_update. Edgar O Silva 2013-10-17 22:36:01 -05:00
  • 7f102fea4b Fixes bug with pin mode not being setup everytime PWM is used, which causes a fresh restart of the OS to make them unusable. Edgar O Silva 2013-10-17 22:07:36 -05:00
  • 1f531981e2 Merge pull request #2 from hybridgroup/refactor-feedback Ron Evans 2013-10-15 08:12:32 -07:00
  • b9564a6686 Merge pull request #3 from hybridgroup/individual-pin-setup Edgar O Silva 2013-10-14 19:03:13 -07:00
  • c14e9a5158 Added Pete back to contributors. Edgar O Silva 2013-10-14 21:02:05 -05:00
  • 77ac9722ce Readme updates based on Thomas Sarlandie. Edgar O Silva 2013-10-14 20:54:31 -05:00
  • 006b31c50a Merge pull request #1 from hybridgroup/individual-pin-setup Ron Evans 2013-10-02 13:05:27 -07:00
  • c1bf7c844f Fixed typo. Edgar O Silva 2013-10-02 14:45:43 -05:00
  • f7cb444975 Removed debugging info and updated README Edgar O Silva 2013-10-02 14:44:07 -05:00
  • 842173d098 WIP on pi-blaster PWM setup and release by pin. Edgar O Silva 2013-10-02 14:26:23 -05:00
  • c9261ef7b9 Added release command to pi-blaster to unlock previsouly set pwm pins Edgar O Silva 2013-10-02 14:16:39 -05:00
  • 1dd3f895f7 Add width = 0 when releasing a pin. Edgar O Silva 2013-10-02 12:22:32 -05:00
  • 71d69a52b4 Fixed missing declaration. Edgar O Silva 2013-10-02 11:54:29 -05:00
  • 6f9083f05d Added pins being used to release method. Edgar O Silva 2013-10-02 11:53:18 -05:00
  • bc071d35e2 Removed compiled file from repo, added release pin to pi-blaster. Edgar O Silva 2013-10-02 11:34:25 -05:00
  • c0d429a15b WIP on individual PWM assignment for GPIO pins. Commented out printing debugging info. Edgar O Silva 2013-10-01 19:31:45 -05:00
  • 9e342516c4 Added comments to new code for not locking all pins as PWM. Edgar O Silva 2013-10-01 19:27:43 -05:00
  • 9f01680d96 First commit for individual PWM pin assignment. Edgar O Silva 2013-10-01 19:12:34 -05:00
  • ab34d81e53 Add alternative command format in the style of "P1-12=100". Add /dev/servoblaster-cfg describing which pins are currently configured for use. Richard Hirst 2013-09-29 16:17:40 +01:00
  • 3f4804aa90 Allow servo IDs up to 31 so people can map servo IDs to P1 header pins if they wish. Richard Hirst 2013-09-12 20:35:38 +01:00
  • 29ce55de75 Major update to servod.c to handle up to 21 servos and to allow pulse widths between 0 and 100% Richard Hirst 2013-09-11 22:00:00 +01:00
  • 071fc182bc Add --idle-timeout and make install features for servod Richard Hirst 2013-09-01 14:58:14 +01:00
  • 665c1c9c9d Merge 37b4f997325c2f27b65874ccdd284ab61de9fe85 into fdf979c383c3d02dc9d5ce9846ef6a02baf0fa27 Mike Redrobe 2013-08-31 12:20:29 -07:00
  • 37b4f99732 Fix for use with raspberry camera Mike Redrobe 2013-08-17 21:42:43 +01:00
  • 35d3701c31 add install target Bernhard M. Wiedemann 2013-07-13 19:56:06 +02:00
  • 71cacbccd5 add bracketing for proper operand order Bernhard M. Wiedemann 2013-07-13 19:54:58 +02:00
  • 33bbcdc49d simplify Makefile Bernhard M. Wiedemann 2013-07-13 07:43:38 +02:00
  • aba28ad972 fix open call Bernhard M. Wiedemann 2013-07-13 07:39:54 +02:00