-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.0.0 #8
v2.0.0 #8
Conversation
- Split the source code (based on libWiringPi source code hierarchy) - ADD: Implement I2C functions - ADD: Aliasing serialPrintf to serialPuts - FIX: missing constants in pinMode check - ADD: missing constant PI_MODEL_COMPUTE - ADD: wiringPiISR support (experimental) - UPD: Exports constants from C++ (ReadOnly | DontDelete) - UPD: Exports setup function from C++ - UPD: setup function no longer accepts calling without mode defined (breaks backward compatibility) - ADD: Better types and allowed values check - ADD: Better error messages - UPD: wiringPiSPIDataRW now takes two parameters, a node buffer as second parameter (instead of a string as second and length as third) - UPD: README.md (move documentation to DOCUMENTATION.md) - UPD: Documentation - UPD: Package.json version and contributors section - ADD: version history file (CHANGELOG.md) - DEL: Backward compatibility constants
- UPD: documentation - UPD: install script (add gpio utility installation, make check, fix update) - ADD: drcSerial extension - UPD: examples
Useless since callback is associated with interrupt on a given pin
…into incoming-v2.x
ADD: pwmToneWrite UPD: pi model constants ADD: pi version constants ADD: pi marker constants ADD: export pi maker names string table DEL: export pi compute revision names string table
Table of Content
ADD: pwmToneWrite in pi specific section
Hello, DO NOT MERGE IT RIGHT NOW ! I created this pull request to get your opinion. Can you please review the code ? :) |
i am doing bullshit …
Wow! What a huge update! I've had a look through and it's looking pretty good to me. I'm actually on a business trip at the moment, so time is a bit of a premium. Happy for you once you've stabilised the bill to push it out and then to address any fixes as minor version fixes. Well done, this is great work! |
This reverts commit 0800763.
wiring is no longer linked as a git submodule, revert to cloning in install script
ADD: dac7678 support ADD: tcs34725 readHSV
Merry christmas everyone, |
Great! |
woo! can't wait! |
So 100 Hz is the limit? |
Source: http://wiringpi.com/reference/software-pwm-library/ The blog example you are referring to is using a soft loop to switch the pin state as fast as possible. RPI has a hardware pwm on pin 1 (BMC_GPIO 18, Phys 12).
Generating a PWM signal on any other pin requires to do it in software, then you will use :
softPwmCreate takes as third argument the range. Hope this answers your question :) |
Thanks for the explanation ;) |
Great job on landing this @nekuz0r ! Woo! |
v2.0.0
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r
nekuz0r