Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Basset

Member Since 25 Nov 2012
Offline Last Active Aug 26 2014 05:36 AM
-----

Posts I've Made

In Topic: How do I pause a while loop using the onboard button?

19 May 2014 - 02:46 AM

Thanks for the insight on the naming conventions. Kinda reminds me of this xkcd: http://xkcd.com/927/


In Topic: How do I pause a while loop using the onboard button?

17 May 2014 - 04:25 AM

Thank you for your help!  

 

I tried the two examples you listed earlier in the year and as you said it wasn't all that reliable.  I have tried the last example you posted and it works perfectly!  Seeing how it's written up gives me some ideas on how I can expand it now and adapt it to other projects I am working on.

 

One more question: in your variables and some other peoples they lead with an underscore and I was wondering what it was for?  I have seen some people in tutorials use them inside methods and I assume they are to keep things more structured when the program gets more advanced but I am not sure.


In Topic: Using a 7 segment display without a shift register

14 August 2013 - 11:11 PM

Thanks for the replies.

 

I forgot to put my setup in the first post but I am running each led with a 330 resistor and driving the common anode pins with transistors.  I don't currently have any shift registers so that is why I'm driving it directly from the netduino.  A few shift registers will be added to my next order to clean it up a bit.

 

I have been able to display 2 different characters on the display now however I am still unsure on how to "push" new characters to the screen.  In my code it is just a while loop switching between displaying the first digit and the second digit, preventing me from sending it a new character.  I would like to be able to write a function that writes to the display and keeps it there until another command is set.  I believe this is accomplished by threading a method to keep the screen 'alive' and send it an event(?) to update it.  I haven't used events or threading before however so I'm not sure how to implement it yet so any help is appreciated. 

 

Here it is displaying 'HI':

Posted Image

 

And the updated code.

 

Thanks!


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.