We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about a program
#2
Since I don't have this train control, I bridged pins 2 and 3 on the connector.
With the following result:
       

The send strings are sent one after the other.
However, the receive string contains the total result on one line, twice.

I recommend:
- Outputting the received data in the text window
- Processing the route data line by line
    Sending a command
    Querying the result
    Updating the track plan
- Performing as few actions as possible in the event subroutines
   but rather in the main program (so it's best to only pass flags).
[-] The following 3 users Like Scout's post:
  • AbsoluteBeginner, litdev, stevantosic
Reply


Messages In This Thread
Question about a program - by Eddie - 07-17-2025, 04:32 PM
RE: Question about a program - by Scout - 07-17-2025, 10:01 PM
RE: Question about a program - by Eddie - Yesterday, 06:35 AM
RE: Question about a program - by litdev - Yesterday, 10:39 AM
RE: Question about a program - by litdev - Today, 04:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)