Jump to content
Sign in to follow this  
ata

Potentiometru digital cu MCP4xxx

Recommended Posts

Salutare.

 

Am pornit de aici...https://ccsinfo.com/forum/viewtopic.php?p=160840

 

Am Codul de mai jos, modificat cum am stiut si la care va solicit ajutorul.

 

Are doua butoane,

 

Primul-sa execute la apasare doar o modificare de valoare a pot,pe care sa o pot seta.  deci doar un pas, 

 

Al doilea, la apasare sa execute cresterea valorii in x pasi (setabili) pana la maxim, unde sa ramana cat timp butonul este apasat

 

Ambele sa revina la poz de start, cand nu sunt apasate.

 

Multumesc anticipat.

 

Cod..

 

 

.

potdig ..txt

Edited by ata

Share this post


Link to post
Share on other sites

Prima problema am rezolvat-o, ramane partea cu revenirea la pozitie de plecare.

Share this post


Link to post
Share on other sites

nu merge lin-cul acela ,

Share this post


Link to post
Share on other sites

Merge, l-am deschis acum...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use cookies and related technologies to improve your experience on this website to give you personalized content and ads, and to analyze the traffic and audience of your website. Before continuing to browse www.tehnium-azi.ro, please agree to: Terms of Use.