Forum: Mikrocontroller und Digitale Elektronik Mega16 und T6963C


von Kurt (Gast)


Lesenswert?

Hallo,

möchte eine Platine mit Mega16 und Grafik T6963C zum Leben bringen.
Im weg steht die fehlende SW.
Gibt es Beispiele und Anleitungen um mit AVR BASCOM hier etwas zu
bewegen?  Die Platine ist von deltawave.

Danke  Kurt

von Ralf (Gast)


Lesenswert?

Habe mit Bascom noch nie gearbeitet, und das Board sagt mir auch nix.

Aber was ich dir sagen kann, ist, dass es einfach ist, einen
T6963C-Controller zu bedienen, sowohl in ASM als auch in C. Daraus
folgere ich, dass es auch in Bascom nicht schwer sein kann.

Ich habe in ASM zum Beispiel den Bresenham-Algorithmus für Linien und
Kreise implementiert und auf einem T6963C-Display am Laufen gehabt.

Es kommt halt drauf an, was du machen willst...

Ralf

von Dirk (Gast)


Lesenswert?

In Bascom gibt es (sample) ein Beispiel mit den Controllernamen

von Kurt (Gast)


Lesenswert?

@Ralf

möchte ihn als eine Art Terminal benutzen
Schrift und etwas Balkengrafik gemischt.
Die Geschwindigkeit spielt keine Rolle.
Mir geht es erstmal um den Einstieg.
Englisch fällt flach, c ebenfalls.
Also bleibt nur ASM und Basic übrig.

@Dirk
Werd mal gleich danach suchen.

Kurt

von Kurt (Gast)


Lesenswert?

Bei dieser Meldung bleib ich hängen.

-------------------------------------------------------
'This label holds the mage data
Plaatje:
'$BGF will put the bitmap into the program at this location
$bgf "mcs.bgf"

'You could insert other picture data here
---------------------------------------------------------

er meckert: Fehler 222   illegal charakter [erwartet (,got"] in the
File...


Die Datei ist vorhanden.
Was wird erwartet?

gruss Kurt

von Kurt (Gast)


Lesenswert?

Hab schon was gefunden.
Wenn in der Portverwendungszuordnungsliste etwas fehlt, dann kommt
unten die Fehlermeldung.


Kurt

von timasi reza (Gast)


Lesenswert?

i have a 128*128 glcd type gdm128128a i have a problom this is my demo
program
but it dont work properly
sed is a Toshiba 128*128 /////////////////

'!!!!!!!!! text passed to sub must be in all caps to
work!!!!!!!!!!!!!!
 $regfile = "m16DEF.DAT"
'$crystal = 6000000
'The connections of the LCD used in this demo
'LCD pin                  connected to
' 1        FG             GND
 '2        GND            GND
 '3        +5V            +5V
 '4        VEE            -9V potmeter
 '5        /WR            PORTb.0      1-5
 '6        /RD            PORTb.1      2-6
 '7        /CE            PORTb.2      3-7
 '8        C/D            PORTb.3      4-8
 '9        RESET          PORTb.4      5-9
 '10-17    D0-D7          Pa           40-33
 '18       FS             PORTb.5      6-18
 '19       A              POWER BLK    (4.2V)
 '20       K              POWER        (GND)



'First we define that we use a graphic LCD
Config Graphlcd = 128 * 128 , Dataport = Porta , Controlport = Portb ,
Wr = 0 , Rd = 1 , Ce = 2 , Cd = 3 , Reset = 4 , Fs = 5 , Mode = 8

'The dataport is the portname that is connected to the data lines of
the LCD
'The controlport is the portname which pins are used to control the
lcd
'CE, CD etc. are the pin number of the CONTROLPORT.
' For example CE =2 because it is connected to PORTB.2
Do
 Cls Graph
 Cursor Off
 Showpic 0 , 0 , Mede
 Waitms 500
 Cls Graph

 Lcd "MEDE SYSTEM ELECTRONIC"
 Waitms 500
 Cls Text
Loop

  End

  Mede:
  $bgf "MSE1.BGF"

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.