Page 1 of 1

Not sure why mu PortB wont trigger

Posted: Mon Oct 29, 2018 11:24 pm
by JLeith
I have my Halloween design working. My PortB0 trigger won't trip.

I have the PortB0 as a Logic 1 trigger state.

I have listed the PortB design and the Flowcode.

I suspect my Chip is not drawing enough current to register a logic 1 ?

I will take some readings at PortB0 and see what is registering.

John

Re: Not sure why my PortB wont trigger

Posted: Tue Oct 30, 2018 12:20 am
by JLeith
Found the Ghost in my program

When I switched to Interrupt on PortB0 I set Portb to 0
BO.png
(32.41 KiB) Downloaded 1914 times
Problem Solved

John

Re: Not sure why mu PortB wont trigger

Posted: Tue Oct 30, 2018 8:05 am
by medelec35
Nice one John,
Glad you have found the solution.
Yes turning interrupt input to an output does disable interrupt.