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: [email protected] <[email protected]> namens Rob CJ 
<[email protected]>
Verzonden: zaterdag 28 januari 2023 15:00
Aan: [email protected] <[email protected]>
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: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: zaterdag 28 januari 2023 11:53
Aan: jallib <[email protected]>
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 [email protected]:
Hi Hans,

Did you check the interrupt on change sample file?

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: zaterdag 28 januari 2023 10:05
Aan: jallib <[email protected]>
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 [email protected].
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 
[email protected]<mailto:[email protected]>.
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 
[email protected]<mailto:[email protected]>.
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB1637D991F751610ED0CDBB30E6CD9%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to