Menu

ADC on PIC16F18346: Resolved

jackjames
2018-12-11
2019-03-26
  • jackjames

    jackjames - 2018-12-11

    Writing a part of code that makes analog readings using a PIC16F18346 I noticed that in the assembler generated not all analog ports are managed.
    For example, the analog port RB7 at first glance does not seem to me to be compiled.
    Is it my mistake and I do not understand anything or is it a bug?

    Es.:
    #Chip 16F18346, 32
    byte_variable = ReadAD( ANB7 )

     
    • Anobium

      Anobium - 2018-12-11

      You are correct - we have missed these additional ADC channel on the 16(l)F183xx devices.

      Do you want a wait for a new library? or, do you want a pactch (for your program) or are you ok on your own?

       
  • bed

    bed - 2018-12-11

    90 minutes after reporting an error in the chip data files, the Release Manager comes and has not only detected the error. No, he also has a solution ready.
    So he would be in our company, I would be afraid for my job :-)
    Great, great team behind GreatCowBASIC!

     
    • Anobium

      Anobium - 2018-12-11

      A revised library - added support for the 16f183xx 20 pin devices. If this works then I will add the devices in the family.

       
  • jackjames

    jackjames - 2018-12-11

    WOW !
    Faster than light
    Perfect !
    Thanks

     
    • Anobium

      Anobium - 2018-12-12

      Do es the update work? Tested? If you have time please test as many adc's as possible.

      Cheers

       
  • jackjames

    jackjames - 2018-12-12

    OK. !

     
    • Anobium

      Anobium - 2018-12-12

      Let me know the results. :-)

       
  • jackjames

    jackjames - 2018-12-16

    I tried several analog inputs on different ports (not all) and they went well.

     
  • Anobium

    Anobium - 2018-12-16

    Excellent. I will release with the next release.

    Thank you for letting us know.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.