B4R Question Softserial on Arduino-Nano dont work

pucki

Active Member
Licensed User
Longtime User
I have a problem with the code below that is supposed to run on an Ardunio Nano with old-Bootloader.

It gives me loads of error messages. The pins are correct. I tested it under the Arudino IDE.

Here is the code and the error messages. The Libs i use ist Rsoftserial in the Lib-Manager.

Thank you for your help

The B4R-Code:
#Region Project Attributes
    #AutoFlushLogs: True
    #CheckArrayBounds: True
    #StackBufferSize: 300
#End Region

Sub Process_Globals
    Public Serial1 As Serial
    Public soft_ser As SoftwareSerial
End Sub

Private Sub AppStart
    Serial1.Initialize(115200)
    soft_ser.Initialize(9600,3,4)
    Log("AppStart")
            
End Sub

Error message in text file attached , sorry is to Long for the Forum.


Greeting

Pucki
 

Attachments

  • error-mes.txt
    50.3 KB · Views: 219

pucki

Active Member
Licensed User
Longtime User
I found the mistake. I had Arduino .1.8.16 installed.

Then because of the Java bug I installed Arduino 1.8.15 (as Erel wrote in the instructions).

Something must have gotten mixed up.

I uninstalled and then reinstalled all Arduino versions and B4R 3.9.

It works now.

Thank you for your help.


greeting
Pucki

Translation from German into English via Google
 
Upvote 0
Top