I've being re-compiling some old working programs with new compiler and stumbled upon this:
option PortD "PTPTTTTT"
Warning: invalid pin configuration designator for bit 0 (1)
I admit this is rather valid warning, as pins in question are used as serial I/O for programming.
My question is this - if old program worked fine then either compiler ignored my configuration or bootloader simply reconfigured pins on startup. Will program compiled with new compiler work the same?
invalid pin configuration designator
Re: invalid pin configuration designator
It should. When the ZBasic startup code runs, the rx and tx pins for Com1 are configured as input and output, respectively. This overrides any pin configuration that might have been done (when allowed by the older compiler).wwwoholic wrote:Will program compiled with new compiler work the same?
- Don Kinzer