I am trying to get/find code to work so that I can fade multiple LEDs via the funnel as3 interface.
It doesn't seem to support analog pins and the PWD settings on some of the digital pins dont seem to work either.
Anyone?
I am trying to get/find code to work so that I can fade multiple LEDs via the funnel as3 interface.
It doesn't seem to support analog pins and the PWD settings on some of the digital pins dont seem to work either.
Anyone?
It doesn't seem to support analog pins and the PWD settings on some of the digital pins dont seem to work either.
PWM is not supported on any analog pins. Which digital pins it is supported on depends on the board, which you are keeping a secret.
Please see my examples and documentation here:
The examples in the Funnel_Basics directory will be helpful for you as well as the documentation in the Documentation folder. You'll find schematics for the examples in the documentation folder as well.
In Funnel_Basics, the file Ex11_LED.fla has the code you are looking for. Note that you can only fade LEDs that are connected to PWM pins. On an Arduino UNO, these are pins 3, 5, 6, 9, 10, and 11. On older Arduino boards only 9, 10 and 11 may work.
Also make sure you have a recent version of funnel (download from funnel.cc). Shigeru posted a new version today.
PaulS : UNO
Soundanalogueous : SPot on works like a charm, thanks a lot for that one...