if (begChannel + numChannels > 15) numChannels -= (begChannel + numChannels) - 15;
if (begChannel + numChannels > 16) numChannels -= (begChannel + numChannels) - 16;
Hi NachtRaveVLPlease could you add the examples inside a directory named "examples" inside the Github?This could help, and it's more compliant with the Arduino library structure.I also suggest to activate the Issues on Github. It could help you to track the issues and to receive feedback by others.Giorgio
If I use the library for LED dimming setting the value to 0 turns the LED to full bright and off with 256.Is it possible to have the led turn off with a value of 0 and fully bright with 256?
hellomy PCA9685 came without any capacitor provided, how bad is it to not use one if i plan to control 4 servos TowerPro MG996R ?can i do without or should i definitely order and solder a capacitor ? thanks
Thanks for the library, it writes quicker than the others out there.I believe there might be a bug in the source.When I expand the example to cover all 16 channels, channel 15 does not function. Looking into the source I noticed at line 193:Code: [Select]if (begChannel + numChannels > 15) numChannels -= (begChannel + numChannels) - 15;When I changed this line to: Code: [Select]if (begChannel + numChannels > 16) numChannels -= (begChannel + numChannels) - 16;Channel 15 operates now as expected.
exit status 1'PORTD' was not declared in this scope
In file included from /var/folders/gl/nzc8b93x3p3b81_269b11kw80000gn/T/arduino_modified_sketch_307330/pwmtest.ino:3:0:/Users/alexanderturner/Dropbox/Arduino/libraries/SoftI2CMaster/SoftI2CMaster.h:516:46: error: 'SDA_PIN' was not declared in this scope [SDADDR] "I" (SDA_DDR), [SDAPIN] "I" (SDA_PIN), [SDAIN] "I" (SDA_IN)