I'm having a tough time with FC9 finding the terminal that allows me to see serial commands - I had this in previous FC versions? I do have the test and debug add on.
Let me know where I'm going wrong.
RS232 Serial
-
- Posts: 145
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 04, 2020 2:29 pm
- Has thanked: 26 times
- Been thanked: 7 times
-
- Matrix Staff
- Posts: 2086
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 701 times
Re: RS232 Serial
Hi alanwms,
The option for UART to be displayed with the console is off by default.
Select the UART(RS232) component in the panel.
Right click and select properties.
Select Yes for the Console data option.
The option for UART to be displayed with the console is off by default.
Select the UART(RS232) component in the panel.
Right click and select properties.
Select Yes for the Console data option.
Martin
Re: RS232 Serial
I see - I did have that enabled but sending a serial_string[11] did nothing. I changed the send function to a simple word "HELLO" and that worked. Any idea why my string variable names serial_string does not work? The initial value is "HELLO"
Re: RS232 Serial
Now I see the issue - The initial value assigned to the string is not working. I used the calculation box to assign "Hello" to the variable "serial_string" and that worked.
Is the initial variable value not working?
Just one more request - When I was referring to the serial console of the past - It seems that I could type in a response in simulation. Is that possible?
Is the initial variable value not working?
Just one more request - When I was referring to the serial console of the past - It seems that I could type in a response in simulation. Is that possible?
-
- Matrix Staff
- Posts: 2086
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 701 times
Re: RS232 Serial
I have an issue like that which was down to silicon with PIC18F27K40
I will see if it happens on a different chip and get back to you.
Yes you can.
You will need to go to the component menu and under API, select Injector (Human Interface)
Martin