proton basic flex lcd kütüphanesi

proton basic flex lcd örneği
proton basic flex lcd library

Daha önce burada paylaştığım etepic.com forumunda paylaşılmış olan, pbp flex lcd kütüphanesini, proton basic diline çevirdim. Kod lcdye metin gönderme ve 8 bit adc ölçümü işlemi yapmaktadır. Aşağıdaki linkten proton basic kodu + hex + proteus 8.9 + inc dosyaları indirebilir. 

proton basic flex lcd files download


Bu yazıda ilginizi çekebilir:

Proton Basic 4x20 lcd örneği

LCD adresleri 4x20 2x16

Günceleme 28-03-2020:
Proton güncel manual pdf dosyasını incelediğimde flex lcd özelliğinin eklendiğini gördüm aşağıdaki linkten güncel manual sayfa 145'te inceleyebilirsiniz:

proton manual download

Alternatif indirme linki:

proton manual download 

Proton Manual sayfa 145-146:


Declare LCD_DataX_Pin Port . Pin
Assigns the individual Ports and Pins that the HD4470 LCD’s DT lines will attach to.

Unlike the above LCD_DTPin declares, the LCD’s data pins can also be attached to any se- perate port and pin. For example:-
Declare LCD_Data0_Pin PORTA.0 ' Connect PORTA.0 to the LCD’s D0 line Declare LCD_Data1_Pin PORTA.2 ' Connect PORTA.2 to the LCD’s D1 line Declare LCD_Data2_Pin PORTA.4 ' Connect PORTA.4 to the LCD’s D2 line Declare LCD_Data3_Pin PORTB.0 ' Connect PORTB.0 to the LCD’s D3 line Declare LCD_Data4_Pin PORTB.1 ' Connect PORTB.1 to the LCD’s D4 line Declare LCD_Data5_Pin PORTB.5 ' Connect PORTB.5 to the LCD’s D5 line Declare LCD_Data6_Pin PORTC.0 ' Connect PORTC.0 to the LCD’s D6 line Declare LCD_Data7_Pin PORTC.1 ' Connect PORTC.1 to the LCD’s D7 line
There are no default settings for these Declares and they must be used within the BASIC pro- gram if required.
Declare LCD_ENPin Port . Pin
Assigns the Port and Pin that the LCD's EN line will attach to. This also assigns the graphic LCD's EN pin, however, the default value remains the same as for the alphanumeric type, so this will require changing.

If the Declare is not used in the program, then the default Port and Pin is PORTB.2.
Declare LCD_RSPin Port . Pin
Assigns the Port and Pins that the LCD's RS line will attach to. This also assigns the graphic LCD's RS pin, however, the default value remains the same as for the alphanumeric type, so this will require changing.

If the Declare is not used in the program, then the default Port and Pin is PORTB.3. Declare LCD_Interface 4 or 8
Inform the compiler as to whether a 4-line or 8-line interface is required by the LCD. If the Declare is not used in the program, then the default interface is a 4-line type.
145
8-bit Proton Compiler Development Suite.
Declare LCD_Lines 1, 2, or 4
Inform the compiler as to how many lines the LCD has.

LCD's come in a range of sizes, the most popular being the 2 line by 16 character types. How- ever, there are 4-line types as well. Simply place the number of lines that the particular LCD has into the declare.
If the Declare is not used in the program, then the default number of lines is 2. Declare LCD_CommandUS 1 to 65535
Time to wait (in microseconds) between commands sent to the LCD.
If the
Declare is not used in the program, then the default delay is 2000us (2ms).
Declare LCD_DataUs 1 to 255
Time to wait (in microseconds) between data sent to the LCD.

If the Declare is not used in the program, then the default delay is 50us.

Yorumlar

Popüler Yayınlar:

chrome ile programsız video nasıl indirilir

grup priz ara kablo yapımı

Ultrasonik fare kuş kovucu devresi

fan aspiratör motoru dönüş yönü değiştirme

transistör karşılık programları ve txt dosyası

dc motor yönü değiştirme devresi