Hi, I am new to the flowcode, but has managed to lab around and get my lights to flash, etc.. I have Pickit2 with 4 lights and a switch.
But I have not managed to program the swtich it is always active. If i do a simple program that makes one lamp to light the switch button is enabled as a reset button. How do i inactivate the button and activate it when i whant to use it.
*edit*
when i use the sample that camed with pickit2 the button is always off, and activated if its used
Pickit2 switch
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Pickit2 switch
Hello
If the switch is hardwired into the MCLR or Reset pin then the switch will have the functionality of resetting the chip. The only way to get around this is to change the chip configuration to disable the MCLR Reset function. If you are using our PPP tool then you can do this via the expert configuration screen. Once you have disabled the MCLR input you can use the pin as a normal input pin.
If the switch is hardwired into the MCLR or Reset pin then the switch will have the functionality of resetting the chip. The only way to get around this is to change the chip configuration to disable the MCLR Reset function. If you are using our PPP tool then you can do this via the expert configuration screen. Once you have disabled the MCLR input you can use the pin as a normal input pin.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel