Jump to content
Sign in to follow this  
booster

Lcd Plugin & 16f628

Recommended Posts

:huh:

I simulated the boost4bit.c lcd test suite on the 16f84 @20MHz.

RESULTS:

Simulatuion: ok

Real-Time : ok

I modified the header file to accept 4MHZ based timing delays to run on the 16F628 (using internal 4MHZ clock - no clockout).

I reconfigured high nibble data port as PORTA.

 

RESULTS:

Simulation: ok

Real-Time : gave garbage on lcd but garbage 'on time' appeared to be consistent with expected correct display 'on time'.

After looking at the spec I found that RA5 can ONLY be configured as digital input, NOT as I/O. The LCD plugin lets the configuration pass as output.

 

;) Booster

Share this post


Link to post
Share on other sites

Booster,

 

Nice spot.

 

This error is not a function of LCD, but of the simulation of 16F628.

 

Thanks

 

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...