Hi
I have searching for hours trying to find a solution to this. I have an arduino connected to an HM-10 BLE module. If I use an app such as Bluo to see the text I am sending via the HM-10 it displays as expected but when trying to get the same data in AI2 all I get is a corrupted string. It is always the same data regardless of what I send.
I’ve only been at his a couple of days so it’s all new to me but from what I have seen on the web this should work. Blocks and sketch attached.
I must be doing something wrong but I can’t figure it out so if someone could point out where I am going wrong it would be very much appreciated.
Many thanks
Rich
#include <Wire.h>
#include <AltSoftSerial.h>
AltSoftSerial BTserial;
void setup()
{
Serial.begin (38400);
BTserial.begin(38400);
}
void loop(){
Serial.print(“Test”);
BTserial.print(“Test”);
delay (1000); // pause a second
}
BT_Van.aia (167.8 KB)