Input Debounce

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times
Contact:

Input Debounce

Post by Ron »

Hi,

Do I need to de-bounce a switch in Flowcode when using the input component macro?

Do I need to de-bounce a switch in Flowcode when using the input block (not the component macro)?

By flowcode I mean using the block provided, not using any form of "C" or "ASM".

Thanks

Ron

User avatar
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:

Post by Benj »

Hello Ron

If you add a switch component and then click on its properties then you can specify a debounce time in milliseconds.

The component macros will then use this debounce time when reading values from the switches.

Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times
Contact:

Post by Ron »

Hi,

I have added the component macro for switches. I am using a 16F886 and want to use RC0 - RC5 for inputs.

I want to send datafrom a computer to be stored in eeprom so I think I must leave RC6 & RC7 unused, they will be tried to MAX232 which will allow me to download information from computer to eeprom.

Are these the correct pins to transfer data from a computer to the eeprom via RS232?

Thanks

Ron

User avatar
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:

Post by Benj »

Hello Ron

Yes those are the correct pins.

Post Reply