Please tell me this is the answer
There seems to be a good bit of experience here with both systems. A good bit of my frustration with PBP and PICs in general is having to go through all the registers and turn "this" on and "that" off just to use a pin as an input or an output. I appreciate the help on the USART but at the end of the day Zbasic does the serial comms in the background with one command and no plate juggling. Are these same type of headaches in the Zbasic generic target system or is nostalgia just making me recall a much easier system to use than PBP?
As I indicated earlier, using ZBasic targetting a generic AVR is nearly as simple as doing so for a ZX device. The difference is that you have to provide at least two configuration parameters (the clock frequency and device package). Without those, the application won't compile for the generic target. If you want the application to use the RTC, you must also provide some configuration parameters for it, too. The same is true if you want to use the software UARTs. In contrast, all of those configuration parameters are pre-determined for ZX devices.meenbombs wrote: Are these same type of headaches in the Zbasic generic target system or is nostalgia just making me recall a much easier system to use than PBP?
If you found ZBasic easy to use for ZX devices, it will be just as easy to use for a generic target device once the necessary configuration parameters are set. The IDE has a dialog that assists with determining the configuration parameters - select the "Target Options..." from the Options menu (only enabled if a generic target device is selected).
- Don Kinzer