Setting multiple channels does not work as expected
If I use xxx.setChannels(0, 15, 0); then only the first seven channels are updated with the new value. same with e.g xxx.setChannels(5, 15, 255); Only channel 5-11 is updated (again only 7 channels). I use an ESP-12 + PCA9685 (both on 3.3volt). Tried several boards with the same result. An older setup with a Mega + PCA9685 (both on 5volt) with the previous version of the library seems to be working fine (never noticed this behaviour). Single channel setting e.g. xxx.setChannel(5, 255); works ok. Q: Is this my hardware, or can you replicate this behaviour. Leo.. Edit: Tested this on a Mega + different PCA board, with current library. Same behaviour. only 7 channels are updating.
I have esp32 boards and esp8266 boards on hand so I’ll investigate the issue. Probably related to the difference between uint16 definition on avr libs vs espressif libs.
On Thu, Dec 14, 2017 at 3:00 PM LvdLinde [email protected] wrote:
If I use xxx.setChannels(0, 15, 0); then only the first seven channels are updated with the new value. same with e.g xxx.setChannels(5, 15, 255); Only channel 5-11 is updated (again only 7 channels). I use an ESP-12 + PCA9685 (both on 3.3volt). Tried several boards with the same result. An older setup with a Mega + PCA9685 (both on 5volt) with the previous version of the library seems to be working fine (never noticed this behaviour). Single channel setting e.g. xxx.setChannel(5, 255); works ok. Q: Is this my hardware, or can you replicate this behaviour. Leo..
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/brunnels/PCA9685/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAiLy17sSRuKOuDzci6eG6pxum8WRimrks5tAYxvgaJpZM4RCqCr .