Hello. I have an adafruit flora project that uses voice recognition and hopefully will have one of these
DSD TECH SH-HC-08 Bluetooth 4.0 BLE Slave Module to UART Transceiver for Arduino Compatible with iOS
I want to use voice commands while i am walking around my house and i want the bluetooth module to connect to my main computer to do tasks and so much more. The problem is an adafruit flora only have one rx tx and i need one for my voice recognition module and one for my bluetooth module. I found this article which is very interesting and I hope someone else agrees.
Does anyone think that this will work on my adafruit flora if not are there any other ways to assign a regular pin to a new rx or tx?
Hi, The SAMD processors are ARM 32 bit based processors and have up to 6 internal serial processors, so in the above article you can map the other serial processors for additional serial ports.
The Flora is based on the Atmega32u4 which appears to only support one hardware processor.
Now you can use other pins and create software based serial ports.
Hello. I added the library for newsoft serial and selected adafruit flora in arduino ide. I get this error after I successfully include newsoftserial.h
" fatal error: WConstants.h: No such file or directory"
"Starting with Arduino 1.0 (December, 2011), NewSoftSerial has replaced the old SoftwareSerial library as the officially supported software serial library. This means that if you have the IDE version 1.0 or later, you should not download this library. To port your code to 1.x, simply change all NewSoftSerial references to SoftwareSerial."