Search found 78 matches

by canary_wharfe
Sat Jul 30, 2022 10:06 am
Forum: Projects - Embedded
Topic: Unused Port pins
Replies: 6
Views: 1942

Re: Unused Port pins

Thanks for confirming Martin
by canary_wharfe
Fri Jul 29, 2022 9:53 pm
Forum: Projects - Embedded
Topic: Unused Port pins
Replies: 6
Views: 1942

Unused Port pins

What does Flowcode do by default on device power up with the state of unused Port pins (if anything)? Are they initialised as inputs or outputs and if outputs, high or low? I know that any pins set as inputs shouldn't be left in an indeterminate floating state.
by canary_wharfe
Thu Jul 28, 2022 3:42 pm
Forum: Projects - Embedded
Topic: I2C Sniffer
Replies: 4
Views: 2105

Re: I2C Sniffer

Ah! thanks Martin. I had a quick look over your flowcode and that's what I thought but thought I'd check by asking.
BTW. That's a very nice bit of flowcoding there :-)
by canary_wharfe
Thu Jul 28, 2022 3:40 pm
Forum: Projects - Embedded
Topic: Maths calc - a var raised to a power - help please
Replies: 2
Views: 1105

Maths calc - a var raised to a power - help please

I need to do a maths calculation with one variable raised to the power of another variable like x^y. In c code it would be something along the lines of the following using the pow function #include <stdio.h> #include <math.h> int main(int argc, const char * argv[]) { /* Define temporary variables */...
by canary_wharfe
Thu Jul 28, 2022 1:32 pm
Forum: Projects - Embedded
Topic: I2C Sniffer
Replies: 4
Views: 2105

Re: I2C Sniffer

Hi Martin
Just wondering whether your sniffer could test SHT31 humidity/temp sensors? Those sensors transmit both humidity and temp bytes so just wondering if your sniffer would be able to differentiate between the two or whether it would need modifying to interface to the SHT?
by canary_wharfe
Wed Jul 27, 2022 9:14 pm
Forum: Projects - Embedded
Topic: PIC24F16KA102 compile to HEX problem
Replies: 5
Views: 1690

Re: PIC24F16KA102 compile to HEX problem

Hello again Ben I can probably use the 0xFFFF workaround and delete the initial values from the EEPROM. I think it's worth getting to the bottom of the problem as the initial pre-loaded values in the EEPROM component is a useful device and if the bug whatever it is is not cured then it could potenti...
by canary_wharfe
Wed Jul 27, 2022 2:41 pm
Forum: Projects - Embedded
Topic: Linker file location on hard drive please
Replies: 2
Views: 1018

Linker file location on hard drive please

Can someone please give me the full linker path to where the PIC8 and PIC16 linker files are stored on the PC drive for Flowcode 9?
Trying to find the location of the pic16_C30_link.bat and xc32-bin2hex.exe files.
by canary_wharfe
Wed Jul 27, 2022 2:25 pm
Forum: Projects - Embedded
Topic: PIC24F16KA102 compile to HEX problem
Replies: 5
Views: 1690

Re: PIC24F16KA102 compile to HEX problem

Hi Ben No,, closing and reopening the project makes no difference. However the project was originally created using an 8 bit PIC device in Flowcode. I then changed to the current 16 bit PIC2416KA102. I tested the simulation so far all good. Saved the file with a new filename and then tried compiling...
by canary_wharfe
Wed Jul 27, 2022 12:55 pm
Forum: General
Topic: Can you change the internal PWM default output pin?
Replies: 2
Views: 877

Re: Can you change the internal PWM default output pin?

Thanks Ben Sorry for the confusion. Yes I am using the flowcode 24F16KA102 device in my project. I called it KM because that is the version available from Microchip at the moment. The KA is really hard to get as so many chips are on 18+ month lead times even for hobbyist quantities. I'll edit the PW...