hi Vsurcan, I think not it is a hardware issue because i reprogrammed the pic but also pic 18f4455 which programmed perfectly, so i think not it is a power connection ,programmer speed or something else. Anywhere thanks for suggestions. kind regards Jos
Op wo 10 apr 2024 om 07:20 schreef vsurducan <vsurdu...@gmail.com>: > That is a programming issue not a library issue. Check hardware, supply, > cable length, wires with cold solder or even not connected, programmer > speed, programmer software malfunction. I guess you need pickit3 plus or > pickit3 minus to program that pic. With a correct definition file. > > On Tue, Apr 9, 2024 at 10:45 PM jos smans <smans...@gmail.com> wrote: > >> hi Rob, >> I have compiled the 18f4431 and a hex file was made, but after >> programming the pic with pickit 3, the error occurred "programming failed >> at program memory address 0x000000".Maybe the adc library must, as you said >> before, changed. >> kind regards >> Jos >> >> Op di 9 apr 2024 om 21:09 schreef jos smans <smans...@gmail.com>: >> >>> Hi Rob, >>> Thank you very much for your support. It works excellent. >>> Kind regards >>> Jos >>> >>> Op di 9 apr 2024 om 19:48 schreef Rob CJ <rob...@hotmail.com>: >>> >>>> Hi Jos, >>>> >>>> The problem is in the ADC library. Apparently the 18F4431 has a >>>> different way of selecting the ADC channel that I have never seen before. >>>> >>>> I made a quick fix and added the channel selection for your PIC but to >>>> the attached ADC library did not test this so you should give it a try. The >>>> code I added could be simplified but that is something that could be done >>>> later. >>>> >>>> So place the attached ADC library in the directory of your program >>>> recompile it and let me know if it works. >>>> >>>> Thanks. >>>> >>>> Kind regards, >>>> >>>> Rob >>>> >>>> ------------------------------ >>>> *Van:* jallib@googlegroups.com <jallib@googlegroups.com> namens jos >>>> smans <smans...@gmail.com> >>>> *Verzonden:* dinsdag 9 april 2024 16:56 >>>> *Aan:* jallib <jallib@googlegroups.com> >>>> *Onderwerp:* [jallib] Greenhouse >>>> >>>> Good day, i have a problem with a program to make automatic my >>>> greenhouse. With pic 18f4455, it works fine, but not with pic 18f4431.I >>>> think its a adc fault but i am not sure. >>>> Can someone help me? thanks >>>> -- >>>> 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/eaae0d75-efe1-4bdc-b6ce-ca87db6dd560n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/jallib/eaae0d75-efe1-4bdc-b6ce-ca87db6dd560n%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/GVXP195MB1637171120AC6BA343AB4AFFE6072%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM >>>> <https://groups.google.com/d/msgid/jallib/GVXP195MB1637171120AC6BA343AB4AFFE6072%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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jallib/CAMK-nAftmPUHcT-g_kMvgQW0HykAT40z2yZi7z_cKAsxjbO%2BUQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/jallib/CAMK-nAftmPUHcT-g_kMvgQW0HykAT40z2yZi7z_cKAsxjbO%2BUQ%40mail.gmail.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/CAM%2Bj4qs-jwoRSyH81N8gqEEgXhp1fRuJ_OkfYku55YFm5dK_hg%40mail.gmail.com > <https://groups.google.com/d/msgid/jallib/CAM%2Bj4qs-jwoRSyH81N8gqEEgXhp1fRuJ_OkfYku55YFm5dK_hg%40mail.gmail.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/CAMK-nAfsaVuAf1FuX_FLq-OWOr_GGs0OFP%2BrL-r7Qy5xBgdJGQ%40mail.gmail.com.