Hello Oliver, Majid, I fixed the device files with the missing RC4 and RC5 input pins. Will be available in the next bee release.
Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens Rob CJ <[email protected]> Verzonden: maandag 26 juli 2021 12:29 Aan: 'Oliver Seitz' via jallib <[email protected]> Onderwerp: Re: [jallib] Pin_c4 undefined in PIC18F2550 ?!?😳😳😳 Hi Oliver, Majid, Thanks for the info. I will have a look at the Python script that generates the device files to see what is going on. I just received a list of devices from Rob Hamerling for which the pins are missing (list below). Once I fixed it I will upload the device files so that they will be part of one of the bee packages. Device files with PORT_RC4 but missing pin_C4 18f4450.jal 18f46j53.jal 18f2550.jal 18f4550.jal 18lf2450.jal 18lf2553.jal 18f2455.jal 18f4553.jal 18lf2455.jal 18lf4450.jal 18lf2550.jal 18lf4455.jal 18f4455.jal 18lf4550.jal 18lf4553.jal 18lf46j53.jal 18lf4458.jal 18lf27j53.jal 18f2553.jal 18f27j53.jal 18f26j53.jal 18f4458.jal 18lf47j53.jal 18f47j53.jal 18lf2458.jal 18lf26j53.jal 18f2450.jal 18f2458.jal Device files missing pin_C4: 28 Kind regards, Rob ________________________________ Van: 'Oliver Seitz' via jallib <[email protected]> Verzonden: maandag 26 juli 2021 09:06 Aan: 'Oliver Seitz' via jallib <[email protected]> Onderwerp: Re: [jallib] Pin_c4 undefined in PIC18F2550 ?!?😳😳😳 Sorry, my answer was not totally correct. Those pins are input only, the lat and the 'put parts are not available on that device. Also there's no direction for c4 and c5. Anyway, to be used as inputs, the pin_c4 and pin_c5 alias should be defined. -- var volatile bit pin_C4 at PORTC : 4 -- var volatile bit pin_C5 at PORTC : 5 -- Greets, Kiste Am Montag, 26. Juli 2021, 09:01:31 MESZ hat 'Oliver Seitz' via jallib <[email protected]> Folgendes geschrieben: 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. -- 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/687613790.752262.1627283190792%40mail.yahoo.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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/AM0PR07MB6241B3541AF2D5239C145ACAE6E89%40AM0PR07MB6241.eurprd07.prod.outlook.com<https://groups.google.com/d/msgid/jallib/AM0PR07MB6241B3541AF2D5239C145ACAE6E89%40AM0PR07MB6241.eurprd07.prod.outlook.com?utm_medium=email&utm_source=footer>. -- 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/AM0PR07MB62411718300CF54CF589A643E6EB9%40AM0PR07MB6241.eurprd07.prod.outlook.com.
