CONFIG PRINTBIN

From MCS Wiki AVR
Revision as of 21:28, 17 January 2017 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Action

Configure PRINTBIN behavior

 

 

Syntax

CONFIG PRINTBIN = extended

 

 

Remarks

extended

This mode is the only mode. It allows to send packets greater than 255 bytes.

The maximum packet size is 64 KB.

Because support for big packets requires more code, it is made optional.

 

You can not change between normal and extended mode dynamically. If you chose to use extended mode, this will be used for all your PRINTBIN code.

 

 

See also

CONFIG PRINT

 

 

Example


$regfile = "m103def.dat" ' specify the used micro
$crystal = 8000000 ' used crystal frequency
$baud = 19200 ' use baud rate
$hwstack = 32 ' default use 32 for the hardware stack
$swstack = 10 ' default use 10 for the SW stack
$framesize = 40 ' default use 40 for the frame space
 
Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0
 
Config Printbin = Extended
Dim A(1000)
Printbin A(1) ; 1000

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language