FAQ | Points | Add... | Recent posts | Search | Register | Log in


[Bascom] Wyświetlacz 7 Segmentowy


Post new topic  Reply to topic      Main Page -> Forum Index -> Microcontrollers Generally -> [Bascom] Wyświetlacz 7 Segmentowy
Author
Message
MacGyver123
Poziom 9
Poziom 9


Joined: 19 Jul 2010
Posts: 35

Post#1 Post from the author of the topic 06 Apr 2011 18:34   

[Bascom] Wyświetlacz 7 Segmentowy


Witam, zwracam się z prośbą odpowiedzenia na moje pytanie:
$crystal....
.
.
.
.
.
.
Tabela:
Data 192 , 249 , 164 , 176 , 153 , 146 , 130 , 248 , 128 , 144
jak mogę wywołać na wyświetlaczu 7 segmentowym liczbę "1"?

Wpadłem na pewien pomysł:
jeśli cały wyświetlacz podłącze do portu (b) to czy jeśli napisze taką komendę:
Portb = Lookup(1 , Tabela) to czy wyświetli się jedynka?


[/code]
Back to top
   
Google

Google Adsense


Post# Post from the author of the topic 06 Apr 2011 18:34   





Back to top
   
Karol966
Poziom 22
Poziom 22


Joined: 30 Jul 2006
Posts: 1501
Location: Obecnie Poznań

Post#2 06 Apr 2011 18:55   

Re: [Bascom] Wyświetlacz 7 Segmentowy


Nie ma tu nic skomplikowanego. Możesz sobie wziąć kartkę i długopis do ręki i rozpisać sobie binarnie które bity dla konkretnej cyfry musisz ustawić,m a które wyzerować. Później możesz sobie te wartości zamienić na liczby np kalkulatorem lub ręcznie i dalej wystarczy wpisać konkretną liczbę do portu, do którego podłączony jest wyświetlacz.
Back to top
   
Google

Google Adsense


Post# 06 Apr 2011 18:55   





Back to top
   
MacGyver123
Poziom 9
Poziom 9


Joined: 19 Jul 2010
Posts: 35

Post#3 Post from the author of the topic 06 Apr 2011 20:48   

Re: [Bascom] Wyświetlacz 7 Segmentowy


Dobrze a czy można to zrobić wyżej wymienionym prze zemnie kodem?
Portb = Lookup(1 , Tabela) to czy wyświetli się jedynka?
Back to top
   
Post new topic  Reply to topic      Main Page -> Forum Index -> Microcontrollers Generally -> [Bascom] Wyświetlacz 7 Segmentowy
Page 1 of 1
Similar topics
Niegasnący wyświetlacz 7 segmentowy (7)
Wyświetlacz segmentowy-sterowanie (9)
[ATmega8][Bascom] Wyswietlacz 7 segmentowy LED. (19)
[atmega8][bascom]Wyswietlacz 7 segmentowy (5)
Bascom 7 segmentowy wyswietlacz (3)
[atmega16][bascom] Wyświetlacz 14-sto segmentowy. (3)
Bascom i wyświetlacz vfd 14-sto segmentowy (7)
atmega8 i wyświetlacz 7 segmentowy LED ==> BASCOM (31)
dwucyfrowy wyświetlacz 7-segmentowy (12)
DSM-51 Wyświetlacz 7-segmentowy (1)

Page generation time: 0.185 seconds


FAQ || Administrator || Moderators || Widgets and banners || Contact
elektroda.pl topic RSS feed