C Control I Micro Chip 5 Vdc Inputs / outputs 1 x digital I/O, 1 x digital input, 4 x digital I/O or analog input Progra 198275 Hoja De Datos

Los códigos de productos
198275
Descargar
Página de 40
50
JUMPER JP2
If you want to do without the available output possibilities altogether because you
have connected your application to the post plug, pull off both jumpers JP2 and JP1. 
C-Control Computer MICRO / MICRO PCB
The P/E Board provides the operating voltages for the operation of the C-Control
computer on the board.
If you operate the computer in a different hardware environment, you must provide a
stable operating voltage.
Version Micro
This is the "naked" version of the computer as a chip with the loaded operating sys-
tem You can see the pin assignment in the following graphic. The MICRO requires a
stable power supply 5V ( +- 10% ) that must 
provide a current of at least 10 mA. Currents through connected components (e.g.
LEDs) are not considered here.
For programming the computer or the operation of an application on the P/E Board,
insert the C-Control MICRO into the provided socket before establishing a connec-
tion to other devices (e.g. the PC) and before applying the operating voltage.
The pins of the C-Control MICRO have the following functions:
PIN 1 - VDD +5V
PIN 8 - GND
PIN 2 - P6/AD6/BEEP
PIN 7 - P1/AD1/BEEP/TXD
PIN 3 - P5/AD5/BEEP
PIN 6 - P2/AD2/BEEP/RXD
PIN 4 - P4/BEEP/FREQ
PIN 5 - P3 INPUT
Version MICRO PCB
This is the comfortable version for direct connection to LEDs or buttons, for example,
which is mainly used in model construction.
The MICRO PCB requires a stable power supply 5V  ( +- 10% ) that must provide a
current of at least 10 mA. Currents through connected components (e.g. LEDs) are
not considered here. There is an additional voltage controller on the board that
admits input voltages of 8 V up to max. 12 V via a separate connection.
If you use this option, the following guidelines apply:
- You may not feed any voltage to the intended connections of the 5 V supply. 
- The voltage (5 V) which is then switched to the connections of the 5 V operating
voltage can be used for own purposes (e.g. pull-up resistance, other components).
- The power intake of all components supplied via the controller may not exceed 50
mA.
Attention!
31
PRINT term
gibt das Ergebnis der Berechnung von term aus.
PRINT "text"
überträgt den in Anführungszeichen stehenden Text. In beiden Fällen wird an die
Übertragung ein Zeilenvorschubzeichen angehängt, welches das Terminalprogramm
veranlaßt, die nächste Ausgabe in der nächsten Bildschirmzeile vorzunehmen. Der
Zeilenvorschub kann unterdrückt werden, wenn dem PRINT-Befehl nach dem Para-
meter (term oder ,,text”) ein Semikolon hinzugefügt wird.
PRINT term;
Oder:
PRINT "text";
CCBASIC unterstützt außerdem mehrere Ausgaben mit einem PRINT-Befehl, wobei
die einzelnen Parameter durch Komma oder Semikolon getrennt werden. Ein Kom-
ma fügt in die Ausgabe ein Tabulatorzeichen ein, das entsprechend den Einstellun-
gen im Terminalprogramm als eine Anzahl von Leerzeichen am Bildschirm erscheint.
Sollen zwei Ausgaben ohne Zwischenraum aufeinander folgen, so sind diese im
PRINT-Befehl
durch ein Semikolon zu trennen.
PRINT "a= ", a
PRINT "a= "; a
Ein einzelner PRINT-Befehl ohne Parameter gibt nur einen Zeilenvorschub aus.
PRINT
• Byteweise Kommunikation über die serielle Schnittstelle
Während PRINT  kurze Zeichenketten zur Darstellung eines numerischen Wertes
senden beziehungsweise erwarten, kann es wünschenswert sein, einzelne Bytes
seriell zu übertragen. Dafür bietet CCBASIC die Befehle PUT und GET.
PUT term
sendet den berechneten Wert eines Terms.