Search found 9 matches
- Thu Jan 25, 2024 2:23 pm
- Forum: General
- Topic: Decimal conversion to Hex value to load a PLL
- Replies: 3
- Views: 2535
Re: Decimal conversion to Hex value to load a PLL
It works now - thank you so much. I was overthinking things.
- Thu Jan 25, 2024 12:40 am
- Forum: General
- Topic: Decimal conversion to Hex value to load a PLL
- Replies: 3
- Views: 2535
Decimal conversion to Hex value to load a PLL
Hi,
As an example, I am trying to convert decimal 1075 to hex to load the N counter of a PLL (MC145170).
I know that 0x433 or 0x0433 loaded in manually works.
How do I convert 1075 decimal to 0x433? Can't figure out what I am doing wrong.
Would appreciate if someone could help. Thanks.
As an example, I am trying to convert decimal 1075 to hex to load the N counter of a PLL (MC145170).
I know that 0x433 or 0x0433 loaded in manually works.
How do I convert 1075 decimal to 0x433? Can't figure out what I am doing wrong.
Would appreciate if someone could help. Thanks.
- Sun Jan 23, 2022 12:08 am
- Forum: General
- Topic: Using EEPROM on PIC causes compile error.
- Replies: 1
- Views: 1920
Using EEPROM on PIC causes compile error.
Hello, I am having difficulty using the EEPROM on a PIC16F882 which has 128 bytes of flash storage on Flowcode 9. I keep getting compile errors no matter what I try. I have used EEPROM storage just fine when using Flowcode 5 in the past. eeprom read example.png See attached snapshot. Any ideas what ...
- Thu Apr 15, 2021 9:35 pm
- Forum: General
- Topic: V9 Compiler no longer working
- Replies: 2
- Views: 2916
Re: V9 Compiler no longer working
Thanks Ben, it's now working. I found that somehow the compiler options had switched - during a Win 10 update maybe? I'm using a PIC18F4620 which is an 8-bit device which needs the 8-bit toolchain as you stated. I had to remove the -L in the PICkit 3 programming window as it was causing an error. Ve...
- Wed Apr 14, 2021 8:15 pm
- Forum: General
- Topic: V9 Compiler no longer working
- Replies: 2
- Views: 2916
V9 Compiler no longer working
Last week all was OK. Today it does not compile. I removed FC9 and re-installed - still no luck. I was using MPLAB 5.35 and now have installed 5.45. It says PIC toolchain not installed, even after I ran the install program (Flowcode_Compiler_PICv2). Attached is a printout of my compiler options. I a...
- Wed Mar 10, 2021 8:45 pm
- Forum: General
- Topic: Serial receive using PIC18F4620 not working
- Replies: 5
- Views: 6329
Re: Serial receive using PIC18F4620 not working
Following up... I managed to get the data transmit working OK in Flowcode V5, but not in V9. I suspect a bug unless there is something overlooked. Two identical programs were written using V5 and V9 to transmit the Char 52 to turn on a relay. I could not load the V5 program here but have included th...
- Tue Mar 09, 2021 12:41 am
- Forum: General
- Topic: Serial receive using PIC18F4620 not working
- Replies: 5
- Views: 6329
Serial receive using PIC18F4620 not working
Hi, In the past I have had no issues sending/receiving to smaller PIC micros using Flowcode but I'm having no luck with the EUSART in the PIC18F4620 when trying to receive a single byte char. Nothing is received. There must be some small detail I'm overlooking. I wrote a simple program to try to fig...
- Tue Mar 02, 2021 10:06 pm
- Forum: General
- Topic: Binary to BCD conversion
- Replies: 1
- Views: 2799
Binary to BCD conversion
I have to convert an unsigned 8-bit binary value to BCD.
There is the 'Double-Dabble' method, but I cannot figure out how to do this in Flowcode.
Does anyone have an idea how to do this? Thanks.
There is the 'Double-Dabble' method, but I cannot figure out how to do this in Flowcode.
Does anyone have an idea how to do this? Thanks.
- Thu Jan 28, 2021 2:29 pm
- Forum: General
- Topic: Double colon operator
- Replies: 1
- Views: 2724
Double colon operator
Going from Flowcode V5 to V9 - some questions (I can't find any answers on the forum)...
What does the double colon operator signify?
Do FCVs exist in V9?
In the conversion from V5 to V9, I keep seeing v5_ in front of certain functions. Is this a 'translation' from V5 to V9?
What does the double colon operator signify?
Do FCVs exist in V9?
In the conversion from V5 to V9, I keep seeing v5_ in front of certain functions. Is this a 'translation' from V5 to V9?