So do those 10 and 11 need to be diffrnet? or do i need to do something else?
EDIT: i might have found that they need to be 0 and 1, but it doesnt work. But then ive also noticed that it says BLE and i think the HC-05 doesnt support that.
Thats is what SoftwareSerial is for… check out that 2nd link I already provided
Your Arduino only has one physical serial interface (UART), and that is used for programming, or the IDE Serial Monitor, or somthing else (like hooking up a serial device), however, only one thing at a time!
So, in order to avoid conflicts, including needing to unplug your BT module every time you program the Arduino, you can instead hook the module up to those “simulated” serial ports thanks to SoftwareSerial (but keep the BAUD rate to 9600).
Only in reference to the library. Basically, just include it and thats it, as it will work for either BT or BLE.
Yes… and assuming your BT module has been set to 9600 BAUD (if not, then do so), then this basic code should get you connected and send the seconds uptime to any Display Widget on virtual pin V5
You can Google for many available resources on that… but generally they default to 9600.
etc…
As for power, what does your module say on it, if anything? It is probably good from 3.6 - 6v and it might work on 3.3v but I would recommend 5v (that what all mine work on)… unless you literally only have the wee little chip portion (with the side solder points) and not one that is soldered onto a breakout board with the 4-6 pins, as shown in your Fritzing diagrams.
Tap your heels three times and say out lou… oh, wrong forum … Yes, and load in the current sketch from the examples link I sent you above.
Also be sure to include the BT Widget in your App project and after pairing your module to your phone, go into that Widget and connect to the module, then start the project… as per here…
Meanwhile in your serial monitor it should show you “Waiting for connections…” and when connected, the App should start displaying the seconds