Search found 1351 matches

by medelec35
Tue Feb 02, 2021 6:40 am
Forum: General
Topic: RS232 Serial
Replies: 6
Views: 3410

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.
by medelec35
Mon Feb 01, 2021 11:38 pm
Forum: App Developer
Topic: Electrical Test - Component Tester
Replies: 16
Views: 10584

Re: Electrical Test - Component Tester

To up the game, I have modified the component tester so it now has three connections instead of two: Revised Component Tester.png I'm working on a transistor tester which will identify a PNP/NPN transistor and will identify which lead of transistor is connected to A1, A2 & A3 Does not matter which l...
by medelec35
Mon Feb 01, 2021 8:17 pm
Forum: General
Topic: FC9 vs. FC toolchain and Microchip Pro-Compiler
Replies: 7
Views: 4429

Re: FC9 vs. FC toolchain and Microchip Pro-Compiler

Thanks Steve & Ben If you have v1 installed from v8 then it will work fine with this. If you download the compiler from the flowcode.co.uk site then that will be v2. That's why I stated about v1 as originally downloaded from matrixtsl site. However, I don't believe the batch file is correct. Loaded ...
by medelec35
Mon Feb 01, 2021 6:01 pm
Forum: General
Topic: FC9 vs. FC toolchain and Microchip Pro-Compiler
Replies: 7
Views: 4429

Re: FC9 vs. FC toolchain and Microchip Pro-Compiler

Hi Steve,
Steve-Matrix wrote:
Mon Feb 01, 2021 12:39 pm
FC9 uses v2 of the compiler and supports the newer chips.
I did not think 2 was included in this release?
by medelec35
Thu Jan 28, 2021 10:29 am
Forum: Feature Requests
Topic: Variables
Replies: 2
Views: 2221

Re: Variables

Thanks Steve. :)
by medelec35
Thu Jan 28, 2021 8:17 am
Forum: Feature Requests
Topic: Variables
Replies: 2
Views: 2221

Variables

Hiding out of scope local variables within Simulation Debugger. This would be a great option if you are debugging multiple call macro's, as all the Unknown or missing variables will be gone! Also can all the variables be preceded with the type e.g. local, global etc? Then the macro name can be remov...
by medelec35
Mon Jan 25, 2021 12:03 pm
Forum: General
Topic: UART Serial Sending Numbers
Replies: 6
Views: 3983

Re: UART Serial Sending Numbers

Suppose you use the SendNumber 1234 What that will do is break the numbers in to four lots of bytes. The first byte sent is 41. That is ASCII for 1 then 42, 43 and finally 44 is sent. That would be the same if SendString "1234" is used Again 41, 42, 43 & 44 is sent Sorry not trying hijack the post j...
by medelec35
Sun Jan 24, 2021 4:37 pm
Forum: General
Topic: UART Serial Sending Numbers
Replies: 6
Views: 3983

Re: UART Serial Sending Numbers

Hi,
You can use SendNumber or SendString
Both will work as the SendNumber automatically sends the numbers as an ASCII string.
Therefore you can send any number including 0
When you had the issue , you could have been trying to send Char before the sendNumber was added to the components?
by medelec35
Sat Jan 23, 2021 2:29 pm
Forum: General
Topic: Help with XC compiler problem
Replies: 9
Views: 4934

Re: Help with XC compiler problem

Hi Wayne, All sorted now? I have just remembered another way. I stated REGISTER.BIT = value; will not work. However if you place a lower case bits after the register name e.g REGISTERbits.BIT = value; It will work . for example, you can use PIE1bits.RCIE=1; Other things to note. You can clear bits w...
by medelec35
Sat Jan 23, 2021 1:55 am
Forum: General
Topic: Help with XC compiler problem
Replies: 9
Views: 4934

Re: Help with XC compiler problem

You're welcome.
Yes you will have an issue.
Its to do with
medelec35 wrote:
Fri Jan 22, 2021 9:41 pm
Eg. instead of
intcon.PEIE = 1;
Use
st_bit(INTCON,PEIE);
The format of

Code: Select all

REGISTER . BIT = value;
will not work.
Best to use the format of

Code: Select all

st_bit(REGISTER, BIT) ;
so you will need to use

Code: Select all

st_bit(PIE1,RCIE);
instead of

Code: Select all

PIE1.RCIE=1;