Pic16F1937 & Ds18B20 chart compile error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Pic16F1937 & Ds18B20 chart compile error

Post by acestu »

Hi guys,

I have just tried to compile a DS18B20 chart by Jorgen on here, all I did was change the device to a pic16F1937 and tried to compile, this is the result:
FC_5_Error.png
(69.49 KiB) Downloaded 2362 times


Thanks
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: Pic16F1937 & Ds18B20 chart compile error

Post by acestu »

Hi,

I think I have sussed this out, it is the c code for the original chip.

Thanks
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Pic16F1937 & Ds18B20 chart compile error

Post by medelec35 »

Yes it is.
Instead of

Code: Select all

ansel=0;
It's

Code: Select all

ansela=0;
Martin
Martin

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times
Contact:

Re: Pic16F1937 & Ds18B20 chart compile error

Post by acestu »

Hi Martin,

I haven't used Flowcode 5 in ages and I can't get it to work with my Pickit3, I have modified the programmer settings but it still doesn't like it.

Thanks
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

Post Reply