Hi Majid,

this time, you really spotted a device file error.

The chip has no pin_c3, but the device file does also not define the pins c4 
and c5, which is indeed an error of the device file.

Until the device file is fixed, add these lines to your program:

--
var volatile bit    LATC_LATC4                at LATC : 4
var volatile bit    pin_C4                    at PORTC : 4
--
procedure pin_C4'put(bit in x at LATC : 4) is
   pragma inline
end procedure
--
var volatile bit    LATC_LATC5                at LATC : 5
var volatile bit    pin_C5                    at PORTC : 5
--
procedure pin_C5'put(bit in x at LATC : 5) is
   pragma inline
end procedure
--


Greets,
Kiste

Am Montag, 26. Juli 2021, 08:48:48 MESZ hat majid ebru <[email protected]> 
Folgendes geschrieben: 





Hi to all

I use PIC18F2550.

When I complie I have error

[Error] (X-GLCD-10.jal) [Line 69] "pin_c4" not defined
[Error] (X-GLCD-10.jal) [Line 69] '=' expected (got 'pin_c4_direction')
[Error] (X-GLCD-10.jal) [Line 70] "pin_c4_direction" not defined
[Error] (X-GLCD-10.jal) [Line 70] unexpected token: pin_c4_direction

Pin_c4 undefined ?!!Why 😳😳😳🤣


-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/c16e1fb4-0547-48ef-9954-224bb58f8bf8n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/1669519631.747340.1627282888545%40mail.yahoo.com.

Reply via email to