Jump to content
Sign in to follow this  
Stringer

Button block

Recommended Posts

Plug-in engine doesn't do proper initialization for startup settings.

 

Steps to produce:

 

1. start simulator

2. open button block -plugin

3. configure the plugin for 2 state buttons and press down some of the bits

4. close the simulator

5. restart the simulator

6. run the simulator for a while

7. stop the simulator

8. check from register screen value of the port where buttons are. It should say pure zero, but the buttons you pressed are still pressed.

Share this post


Link to post
Share on other sites
Guest Dave

Stringer,

 

I've just checked this using multi-meter plugin measuring the voltage applied to a port by the button block plugin.

 

Its apparent then that the button block output doesn't go positive until the button state is changed.

 

The problem lies within the button block pluging - not the sim.

 

Only a problem when the buttons are left latched down on entry to debugger/sim, just as you describe.

 

Good one B)

Will add to the jobs list.

 

Regards

Dave

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...