Hi,
I need to access switches and control LEDs from within VB.net.
So got an Arduino Nano.
I am a totally new Arduino user, and so am still a bit ignorant.
I had thought I would use the Serial Control, and create my own sketch.
I have got switches to send messages to the Serial Monitor, and I can send triggers from the serial monitor to switch LEDs off and on.
I was particularly proud of myself, when I managed also to incorporate a blink loop, so that the LED could be set to flicker when triggered on.
But then I found Firmata.
This would seem to take a lot of the programming work away, giving a control that will drop straight into VB.net.
So I tried this, and sure enough, I can control LEDs, and read switches using the Firmata Standard sketch.
But...
I can't even vaguely work out how to use Firmata to set the LED not to just stay on constantly, but to blink/flicker at a preset rate.
I thought I might be able to take my blink routine from the original sketch, and stick it somewhere in the Standard Firmata sketch to control the flicker on the digitalWrite line.
However, I can't even find a digitalWrite line in the Standard Firmata sketch.
I can't find any line which is switching on the LEDs.
So I have no idea how to make an LED blink.
Is it possible? Is it complicated? Is it worth it?
Or should I go back to my original idea of coding my own sketch and communicating via Serial?
Any help gratefully received.
Thanks.
Paul