2009/8/18 Sunish Issac <[email protected]> > > Common cathode seems to be more common. One more issue with posted jseven.ja > - can I assign different port pins for segments ? > As a matter of fact, the documentation says you should:
-- Description: Translation routine for 7 segment display. -- -- -- The seven segment display needs to be connected to a single port. -- Define the pin layout of the seven segment display like: -- -- -- -- constant for the segments gfe dcba -- const byte seven_segment_a = 0b_0000_0001 -- const byte seven_segment_b = 0b_0000_0010 -- const byte seven_segment_c = 0b_0000_0100 -- const byte seven_segment_d = 0b_0000_1000 -- const byte seven_segment_e = 0b_0001_0000 -- const byte seven_segment_f = 0b_0010_0000 -- const byte seven_segment_g = 0b_0100_0000 -- const byte seven_segment_dp = 0b_1000_0000 But... if you omit this, the configuration above is default. You should however put all pins on one port (or split them yourself) Joep --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
