News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Compilation error

Started by Giuseppe MPO, May 17, 2021, 09:11 AM

Previous topic - Next topic

Giuseppe MPO

Good morning,
I have an error, PIC16F1619, when compiling whit Positron Studio the instruction

"PinPullup Enable, PORTA.2"

gives me:

"Error at Line [121] In file [D: \ Work \ Pic \ Thermostat.bas] *** Item 'Enable' not found! *** "

if instead compile with Proton IDE don't give any errors and everything works perfectly.

Yasin

The problem was resolved during my meeting with @JohnB yesterday. Actually, you are not currently working with Version 4.0.0.0. Check the asm file. It will probably fix in a short time with the first update.

or Access the registera directly.

WPUA.2 = 1

Giuseppe MPO

Thanks for the answer,
in fact I have checked the file.hex, using the Proton IDE it uses the 4.0.0.0
while using Positron Studio it uses the 3.7.5.5.

I had used the WPUA statement, but it was just to report the problem

gianmagna

#3
I am stepping up to report a positron compilation error on the Lockup command
The error is on the line following the newline
 
[img width=1613 height=471]https://i.ibb.co/FJCCCPr/Screenshot-2021-05-17.jpg]

the previous version of proton did not


Giuseppe

To remove the error just delete the underscores that separate the rows of the table.
With the new version of the positron they are no longer needed