FlexiButtons plugin for SourceBoost IDE
FlexiButtons gives you up to sixteen buttons that simulate switches connected to an input pin.  Pressing a button simulates the switch closing.

Only buttons in use are displayed.

The buttons flow to the width of the window allowing you to choose a layout that fits best with your simulation/debug environment.

By default FlexiButtons connects the first eight buttons to Port B, bits 7 to 0.
FlexiButtons configuration
To configure FlexiButtons right-click on the plugin window (but not on the buttons themselves) and select Configure.  The dialog on the left will be displayed.

The default configuration is as shown, eight buttons connected to Port B.  You may remove all exisiting connections by clicking on the Clear All button.

If you save the configuration (by clicking OK) when no buttons are connected then FlexiButtons will revert to its default configuration.

For each of the 16 buttons you may select:
  • Caption:  the text that will appear on the button. If left blank then the pin name will be used instead.
  • Connect to: a drop-down list of port pins - RA0 through RG7.  You may manually type a pin name if it does not appear in the list.  If set to "None" or left blank then the button is considered to be not in use.
  • Active Low: when not selected the switch outputs 5V to the pin when closed and 0V when open.  When selected, the switch outputs 0V when closed and 5V when open.
  • 2-state: when not selected the switch is closed only while being pressed. When selected the switch closes and opens on alternate presses.