SOLVED - IOC works on B0 but not B5


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    Just to confirm, there definitely is something else required than my PPS settings.

    I commented out the 4 DEFINES and used only my PPS settings and it didn't work.

    I activated the 4 DEFINES and commented out all my PPS settings and it worked.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,720


    Did you find this post helpful? Yes | No

    Default Re: IOC works on B0 but not B5

    for what its worth
    porta.4 also fails to operate as a normal gpio i/p when hpm is used
    DEFINE CCP5_REG 0
    DEFINE CCP5_BIT 0

    is needed to restore operation


    edit, i had mixed up cause and effect i had sw on c5 and led on a4 i assumed led failure to operate as intended was due to sw not working
    but sw was fine led pin not so


    moral to story
    if you use hpm it will mangle all the default pins for normal use unless you take action
    Last edited by richard; - 13th September 2024 at 06:22.
    Warning I'm not a teacher

Similar Threads

  1. Replies: 12
    Last Post: - 7th September 2024, 16:10
  2. Replies: 8
    Last Post: - 30th August 2024, 20:45
  3. Replies: 4
    Last Post: - 22nd March 2023, 12:32
  4. DS3231 works in one config, but does not works with other IC.
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd December 2019, 20:52

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts