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
Not sure why mu PortB wont trigger
Moderator: Benj
- JLeith
- Posts: 537
- Joined: Wed Nov 14, 2012 7:49 pm
- Location: British Columbia Canada
- Has thanked: 146 times
- Been thanked: 26 times
- Contact:
Not sure why mu PortB wont trigger
- Attachments
-
- Halloween Oct 27 2018.fcfx
- (48.25 KiB) Downloaded 171 times
-
- PortB Trigger.png
- (10.64 KiB) Downloaded 1918 times
- JLeith
- Posts: 537
- Joined: Wed Nov 14, 2012 7:49 pm
- Location: British Columbia Canada
- Has thanked: 146 times
- Been thanked: 26 times
- Contact:
Re: Not sure why my PortB wont trigger
Found the Ghost in my program
When I switched to Interrupt on PortB0 I set Portb to 0
Problem Solved
John
When I switched to Interrupt on PortB0 I set Portb to 0
Problem Solved
John
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Not sure why mu PortB wont trigger
Nice one John,
Glad you have found the solution.
Yes turning interrupt input to an output does disable interrupt.
Glad you have found the solution.
Yes turning interrupt input to an output does disable interrupt.
Martin