Hi Matt, I had a look at the library but with the current - but clever - set-up it is not easy to change by using the same set-up.
Since I updated the sample program of Hans I can add that too as a sample file that does not use the library. Kind regards, Rob ________________________________ Van: jallib@googlegroups.com <jallib@googlegroups.com> namens hans <hanze...@zeelandnet.nl> Verzonden: dinsdag 31 januari 2023 07:47 Aan: jallib <jallib@googlegroups.com> Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Matt, Please leave it so it is, i use it in older programs. regards Hans Op maandag 30 januari 2023 om 23:35:12 UTC+1 schreef mattsc...@hotmail.com: Should we remove the interrupt on change library? This sample shows a good example of how to use interrupt on change without a library: 18f4620_interrupt_on_change_pin_b0.jal Or does someone want to update the library? Matt. On Saturday, January 28, 2023 at 2:42:08 PM UTC-5 rob...@hotmail.com wrote: Hi Hans, Good to hear that. I could add it as sample file as a version that does not use a library. Kind regards, Rob ________________________________ Van: jal...@googlegroups.com <jal...@googlegroups.com> namens hans <hanz...@zeelandnet.nl> Verzonden: zaterdag 28 januari 2023 20:33 Aan: jallib <jal...@googlegroups.com> Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Rob, Works fine,, base for a sample ?? regards Hans Op zaterdag 28 januari 2023 om 17:15:05 UTC+1 schreef rob...@hotmail.com: Hi Hans, It was easier to update your program than changing the library. I think with the current set-up is it not easy to change the library but maybe someone else has a brilliant idea. Attached your program version that compiles and not using the library. It was not tested, I leave that up to you. Kind regards, Rob ________________________________ Van: jal...@googlegroups.com <jal...@googlegroups.com> namens Rob CJ <rob...@hotmail.com> Verzonden: zaterdag 28 januari 2023 16:46 Aan: jal...@googlegroups.com <jal...@googlegroups.com> Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Hans, I had a look at the library but with the current set-up I cannot solve it with aliases since PICs can have multiple ports that support interrupt on change and the library only works for one port (B). I will give it some more thought .... Kind regards, Rob ________________________________ Van: jal...@googlegroups.com <jal...@googlegroups.com> namens Rob CJ <rob...@hotmail.com> Verzonden: zaterdag 28 januari 2023 15:00 Aan: jal...@googlegroups.com <jal...@googlegroups.com> Onderwerp: Re: [jallib] interrupt on change 12F1840 Hi Hans, I saw indeed that the library supports only port b. It can be fixed with aliases to also support port a but that need some work because the library is quite large. I tried to see if it compiles when I add aliases for only port a and only 1 pin and that compiles. Attached your program with using only one pin and a draft update of the change. You can at least test if 1 pin works 🙂 Note that this library is just a hack and far from complete! I was thinking of making the change in a different way so that it requires less work. So if you are patient I can make the change. Kind regards, Rob ________________________________ Van: jal...@googlegroups.com <jal...@googlegroups.com> namens hans <hanz...@zeelandnet.nl> Verzonden: zaterdag 28 januari 2023 11:53 Aan: jallib <jal...@googlegroups.com> Onderwerp: Re: [jallib] interrupt on change 12F1840 Op zaterdag 28 januari 2023 om 11:49:07 UTC+1 schreef hans: Hi Rob, I have tried but Yes but this one has no port B Op zaterdag 28 januari 2023 om 10:43:37 UTC+1 schreef rob...@hotmail.com: Hi Hans, Did you check the interrupt on change sample file? Kind regards, Rob ________________________________ Van: jal...@googlegroups.com <jal...@googlegroups.com> namens hans <hanz...@zeelandnet.nl> Verzonden: zaterdag 28 januari 2023 10:05 Aan: jallib <jal...@googlegroups.com> Onderwerp: [jallib] interrupt on change 12F1840 Hello all, I would like to apply an interrupt on change in a 12F1840. Does anyone have an example of this? retgards Hans -- 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 jallib+un...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/65c3df4a-bc83-487b-b058-e67fa7ef3029n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/65c3df4a-bc83-487b-b058-e67fa7ef3029n%40googlegroups.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 jallib+un...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/c8e79cd7-4a56-4c8c-80e4-c8d6afb18388n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/c8e79cd7-4a56-4c8c-80e4-c8d6afb18388n%40googlegroups.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 jallib+un...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/GVXP195MB16371BC45D3D327F9AF3DDB0E6CD9%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/jallib/GVXP195MB16371BC45D3D327F9AF3DDB0E6CD9%40GVXP195MB1637.EURP195.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 jallib+un...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/GVXP195MB1637D991F751610ED0CDBB30E6CD9%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM<https://groups.google.com/d/msgid/jallib/GVXP195MB1637D991F751610ED0CDBB30E6CD9%40GVXP195MB1637.EURP195.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 jallib+un...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/ee106fc0-73db-4cd1-adb1-7d91bee94d60n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/ee106fc0-73db-4cd1-adb1-7d91bee94d60n%40googlegroups.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 jallib+unsubscr...@googlegroups.com<mailto:jallib+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/4093e06c-df87-4ae4-b123-edb39e8d2c1dn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/4093e06c-df87-4ae4-b123-edb39e8d2c1dn%40googlegroups.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 jallib+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/GVXP195MB1637F611EC87541869C128CBE6D09%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.