Maybe i should start new topic about project in another forum.
Ok so from the begining. I'm graphic designer in Poland and it will be my graduation project. I'm making some kind of board ( link to the blog: http://projectpompeii.blogspot.com/
) As you can see (below) it will be a linear type of game. You will spin a wheel and move your pawn.
On the electronics side there will be:
1. motors which hide and show figurines and stuff, moving gates (controlled by arduino digital and analog ouputs)
2. smoke generators in volcano and air pump. I used 2 ecigarettes heaters (controlled by arduino digital oupts with relays)
3. spinning wheel-(3 digital inputs)
4.something about 100 playing fields with LED backlight ( I2C bus)
Everything will be hooked up to arduino Mega 1280 (or 2560 I have both) which will be connected to the pc with touchsreen for GUI.
I want to use Adobe Flash for interface because I was a web developer for past few year and I'm very familiar with that environment and Action Script programming. It's also very simple and fast in animation type of things which I must do a lot in this project.
For playing fields backlight I made PCB with 8 PCA9555 expanders (http://www.nxp.com/documents/data_sheet/PCA9555.pdf
and SMD resistors for diodes. Which gives me 128 pin INPUTS/OUTPUTS controlled via I2C. PCB is working great that's not an issue. I tested it with wire.h library. Now to the point.
I managed to connect ActionScript to arduino with AS3Glue and SerProxy.. I can send/receive digital and analog data from Adobe Flash.
But I don't know how to controll I2C transmission from AS3. (how to control SDA and SCL) No idea. Maybe I should use something else not as3glue and serporxy.
I have basic knowledge about transmission and protocols
Please help me. If something is not clear I will try to explain it more.
thanks in advance, Gabriel