Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/21/12 17:40
Read: times


 
#185615 - i have no logical idea how i write code
Responding to: ???'s previous message
Then it's time for you to get onto a training course, and/or sit down with a few good textbooks, and start learning!

Some links to resources here: http://blog.antronics.co.uk/2011/08/08/

http://www.netrino.com/Boot-Camp-Box

Anil Kumar said:
when i press 1st push button 1st seven segment start blinking after it increament/decreament by 2nd/3rd push button in 1st seven segment .
again when i press 1st push button 2nd seven segment start blinking after it increament/decreament by 2nd/3rd push button in 2nd seven segment .
again when i press 1st push button 3rd seven segment start blinking after it increament/decreament by 2nd/3rd push button in 3rd seven segment
again when i press 1st push button 4th seven segment start blinking after it increament/decreament by 2nd/3rd push button in 4th seven segment.


None of this has anything to do with switch interfacing - it's about software design.

Hint: try googling "State Machine" or "Finite State Machine" or "FSM"...

plz try to help me

A bit of "Help" is one thing; a complete course in programming is quite another!


List of 44 messages in thread
TopicAuthorDate
switch interfacing            01/01/70 00:00      
   What?            01/01/70 00:00      
      switch interfacing            01/01/70 00:00      
         The 7-segment digits will not handle switches            01/01/70 00:00      
   Perhaps this may be useful to you            01/01/70 00:00      
      4 buttons - not full keypad            01/01/70 00:00      
         switch interfacing            01/01/70 00:00      
            That is called edit mode            01/01/70 00:00      
               switch interfacing            01/01/70 00:00      
                  You need to study some examples            01/01/70 00:00      
                     switch interfacing            01/01/70 00:00      
                  Details details - and where is debounce/repeat handling?            01/01/70 00:00      
                     switch interfacing            01/01/70 00:00      
            Why should this be a problem??            01/01/70 00:00      
            interfacing your switches has nothing to do with LED's            01/01/70 00:00      
   MUX LED AS O/P PIN            01/01/70 00:00      
      Switch interfacing            01/01/70 00:00      
         divide and conquer            01/01/70 00:00      
         simplified step-by-step way to post your schematic            01/01/70 00:00      
            remember            01/01/70 00:00      
               ? Not Muxing ?            01/01/70 00:00      
   switch interfacing            01/01/70 00:00      
      You need lots of resistors            01/01/70 00:00      
         (Back to) Basics            01/01/70 00:00      
            multiplex 5 digits            01/01/70 00:00      
               Don't think anyone would want 1:35 degenerate "multiplexing"            01/01/70 00:00      
                  Have I done the sums wrong?            01/01/70 00:00      
                     No but multiplexing requires few driver lines            01/01/70 00:00      
                        You MUST have digit drvers            01/01/70 00:00      
                           You missed '4094 OE+PWM for luminocity            01/01/70 00:00      
               No multiplexing needed...            01/01/70 00:00      
                  switch interfacing            01/01/70 00:00      
                     What help?            01/01/70 00:00      
                     how?            01/01/70 00:00      
                     Ah, a homework, right?            01/01/70 00:00      
                        switch interfacing            01/01/70 00:00      
                           language?            01/01/70 00:00      
                           i have no logical idea how i write code            01/01/70 00:00      
                           You need...            01/01/70 00:00      
                              Making a seven segment display blink            01/01/70 00:00      
                                 The 4094 chip has an OE pin            01/01/70 00:00      
                              switch interfacing            01/01/70 00:00      
   switch interfacing            01/01/70 00:00      
      would you provide some feedback ?            01/01/70 00:00      

Back to Subject List