Hi, I'm using VB6 and standart firmata to control and monitorize my arduino. I'm able to control digital outputs state (on/off) .

But i don't know how to control analog output(PWM)... I can't figure out the correct sequence of hex commands...

I tried the following format:

analog I/O message 0xE0 pin # LSB(bits 0-6) MSB(bits 7-13)

Does anyone know how to set pin 11 to 150 and pin 5 to 60 for example... ? I would like to know the correct structure and data type (hex,bin...) thanks in advance. :)