CONFIG PRINTBIN
From MCS Wiki AVR
(Difference between revisions)
(Created page with "= <span class="f_Header">Action</span> = Configure PRINTBIN behavior <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> </span> = <spa...") |
|||
Line 23: | Line 23: | ||
| valign="top" width="94%" style="width: 365px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="94%" style="width: 365px; border: 1px solid rgb(0, 0, 0);" | | ||
− | This mode is the only mode. It allows to send | + | 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. | ||
|} | |} |
Latest revision as of 21:28, 17 January 2017
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
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 |
---|