Thanks for the insight on the naming conventions. Kinda reminds me of this xkcd: http://xkcd.com/927/
- Netduino Forums
- → Viewing Profile: Posts: Basset
Community Stats
- Group Members
- Active Posts 7
- Profile Views 5405
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Location
Canada
User Tools
Friends
Basset hasn't added any friends yet.
Posts I've Made
In Topic: How do I pause a while loop using the onboard button?
19 May 2014 - 02:46 AM
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':
Thanks!
- Netduino Forums
- → Viewing Profile: Posts: Basset
- Privacy Policy