I uploaded a bluetooth sketch from IDE (File->Examples->Firmata->Standard Firmata) to Arduino Duo.
Now if I have a sensor attached to this Arduino, I can use bluetooth from another device (Raspberry pi or mobilephone) to read the sensor.
But what if I want to do something in the arduino itself? I see only one option which is to edit the standardfirmata to read the sensor and do something. So multiple sketches running in one sketch.
Am I correct?