Lotus Cortex-M0+ no serial output

I would want to upgrade an old my sketch, that are currently running on a Seeeduino Loutus, with the new Lotus Cortex-M0+ board but I’ve no output on serial (and neither on Serial1 too) with this new on board.

To investigate more I’ve tried to load the basic example blynk.ino, to test If I’m able to upload scketches on the board. Well, I’ve no problem uploading sketches,

Now, I’ve tried to upload the basic ASCIITable.ino, to test the Serial output, and in this case I’ve the problem! I get no output on the Serial or Serial1 port (connected with an FTDI adapter to the PC).



Tried to use or nt use the </s>while (!Serial.port)<e> statement but no changes, I’ve no output on serial port.



Obviously installed the board on the board manager and the windows drivers.



So, where’s the problem?

Hi there,



The serial is SerialUSB. You can use the SerialUSB to print the message. For more info, please refer to http://wiki.seeedstudio.com/Seeed_Arduino_Serial/ thanks.

Ok, thanks for your reply.

The SerialUSB port (old Serial) now it works, but I still have some problem with the Serial1… is still named Serial1?

Hi there,



Here is the Serial1 from below picture, please let us know what kinds of issue do you face. thanks.



I’m tring to use the Grove LORA 433 on Serial1 but the porting from Seeedstudio of the Radiohead library isn’t working because

[code]fatal error: RHutil/atomic.h: No such file or directory

#include <RHutil/atomic.h>[/code]

So, I’m trying to use the original Radiohead library, but it seems that’s isn’t would to communicate with the LORA module.

In the library I saw that the baudrate is 57600 and I setted the sketch to fit it but with no luck.



Now tried to direct the output of Serial1 via an FTDI adapter to the PC and in fact I can see some char on the terminal (putty), so I’m sure that the Serial1 is working and the sketch tried to communicate with the LORA.



I’ve googled a lot and find that SAMD21 processors cannot use interrupt library atom.h but new releases of radiohead library can handle the new processors family, in effect with the readiohead library I get no error when compiling but I’ve no communication with the LORA module



Now… the problem is: how can I use the LORA module with the Lotus Cortex-M0+ ?

Hi there,



You can use below library and configure as below define. thanks.



#################### SAMD ######################



#ifdef ARDUINO_SAMD_VARIANT_COMPLIANCE



#define COMSerial Serial1

#define ShowSerial SerialUSB



RH_RF95 rf95(COMSerial);



#endif



<LINK_TEXT text=“http://wiki.seeedstudio.com/Grove_LoRa_ … ad-library”>http://wiki.seeedstudio.com/Grove_LoRa_Radio/#download-library</LINK_TEXT>