hey
Ik ben nog maar juist bezig met AVR (enkel simulator(tijdelijk))
ik schreef een programma:
$regfile = "2313def.dat"
$crystal = 4000000
Do
Cls
Lcd "M"
Waitms 50
Lcd "e"
Waitms 50
Lcd "e"
Waitms 50
Lcd "r"
Waitms 50
Lcd "t"
Waitms 50
Lcd "j"
Waitms 50
Lcd "e"
Waitms 50
Loop
Endde bedoeling is om "MEERTJE"
letter per letter op een 16*2
display te laten verschijnen
met een bepaalde tussentijd (in programma 50ms).
Nu is mijn probleem simpel:
de tussentijd werk niet.
[Waitms 50]
werk niet
veranderen naar 500 ==> werkt ook niet
wat heb ik verkeerd gedaan?
alvast bedankt
.::Meert::.
Nu werkt hij wel 
Maar kan dit niet korter
en de cursor die kan blinken
gaat ook niet bij mij.
Zie ===> http://www.qsl.net/pa3ckr/bascom%20and%20avr/using%20an%20lcd/index.ht…
LCD cursor control.
Bascom has several cursor control commands.
You can switch the cursor on or off, have a blinking cursor:
Cursor on, blink
Cursor on, noblink
Cursor off
You may specify the exact position where the cursor has to be:
Locate linenumber, characternumber
Locate 1, 6
Lcd "Count"
will locate the cursor on the the sixth position on the first line.
The value of Count will be written, starting at that position.en bij een 40*4 display de
2de of derde rij nemen
hoe doe je dat ?
Roland van Leusden
It's the rule that you live by and die for It's the one thing you can't deny Even though you don't know what the price is. It is justified.
wat heb ik verkeerd gedaan?
Config Lcdpin = Pin , Db4 = Portb.4 , Db5 = Portb.5 , Db6 = Portb.6 ,
Db7 = Portb.7 , E = Portb.2 , Rs = Portb.0
Config Lcd = 16 * 2toevoegen.
Op 25 januari 2006 13:52:32 schreef Roland van Leusden:
[...]Config Lcdpin = Pin , Db4 = Portb.4 , Db5 = Portb.5 , Db6 = Portb.6 , Db7 = Portb.7 , E = Portb.2 , Rs = Portb.0 Config Lcd = 16 * 2toevoegen.
is niet nodig
dat probleem is opgelost
Roland van Leusden
It's the rule that you live by and die for It's the one thing you can't deny Even though you don't know what the price is. It is justified.
Fijn.
Hier de Bascom handleiding d/l
http://www.mcselec.com/index.php?option=com_docman&task=cat_view&gid=7…
de cursor die kan "blinken"
gaat ook niet bij mij.
Zie ===> http://www.qsl.net/pa3ckr/bascom%20and%20avr/using%20an%20lcd/index.ht…
(bijna onderaan)
en bij een 40*4 display de
2de of derde rij nemen
hoe doe je dat ?
Op 25 januari 2006 14:12:21 schreef Meert:
de cursor die kan "blinken"
gaat ook niet bij mij.
Zie ===> http://www.qsl.net/pa3ckr/bascom%20and%20avr/using%20an%20lcd/index.ht…
(bijna onderaan)en bij een 40*4 display de
2de of derde rij nemen
hoe doe je dat ?
leg eens uit a.u.b.