Search found 2999 matches
- 27 September 2024, 10:12 AM
- Forum: ZBasic for Generic Targets
- Topic: PutQueueStr
- Replies: 1
- Views: 238
Re: PutQueueStr
There may be two limitations combining to produce the result you are seeing. Firstly, because the number of characters in a string is contained in a Byte, the maximum string size is 255 characters. There is no way to get around this limit. See sections 2.11 and 3.28 of the ZBasic Language Reference ...
Re: ZX24u PWM
I looked at the xMega datasheet and the ZBasic code and discovered that the PutPin() prior to setting up PWM are not required for the xMega devices. The ZBasic code for PWM configures the corresponding to be an output so that s why it works without the PutPin() call. This is a deficiency in the docu...
- 01 March 2024, 17:53 PM
- Forum: ZBasic for Generic Targets
- Topic: c files interacting in strange ways
- Replies: 3
- Views: 4339
Re: c files interacting in strange ways
Offhand, I suspect that there may be a register usage issue but it is dangerous to speculate from a distance. I'd be happy to take a look at the code if you would want to send it to me. I'm open to executing an NDA if necessary. Otherwise, it would be best to whittle the code down to the minimum tha...
- 05 February 2024, 17:01 PM
- Forum: ZBasic for Generic Targets
- Topic: Suport for AVR64DD32
- Replies: 4
- Views: 4765
Re: Suport for AVR64DD32
No definitive word yet. It looks like the hardware may support ZBasic with some changes. I haven't yet discovered if a new version of avr-gcc has been release that supports the new families. If it can be supported, a release of ZBasic for it probably would quite a way off - probably at least a year.
- 23 January 2024, 14:41 PM
- Forum: ZBasic Language
- Topic: New Compiler Release, New Devices
- Replies: 4
- Views: 6398
Re: New Compiler Release, New Devices
That's an interesting observation. Thanks.
- 23 January 2024, 14:39 PM
- Forum: ZBasic for Generic Targets
- Topic: Suport for AVR64DD32
- Replies: 4
- Views: 4765
Re: Suport for AVR64DD32
No. I'll take a look at it to see if it might be possible.
- 09 May 2021, 16:19 PM
- Forum: ZBasic Language
- Topic: Updated Forum Software
- Replies: 2
- Views: 35978
Re: Updated Forum Software
I was able to find a "Digests" extension and it is now installed and working. If you want to receive digests, log in and then launch the User Control Panel (click you forum name near the top on the right side and choose it from the menu). Once in the User Control Panel, select the Digests ...
- 05 May 2021, 17:11 PM
- Forum: ZBasic Language
- Topic: Updated Forum Software
- Replies: 2
- Views: 35978
Updated Forum Software
After fighting with the older phpBB v2.x code for a few years now each time the web hosting company upgrades the PHP version they're using, I finally relented and just installed the latest phpBB v3.x. Since the code is PHP 7 compatible, that should simplify coping with future host server upgrades. A...
- 24 March 2021, 15:32 PM
- Forum: ZBasic Language
- Topic: ZBasic Generic Target License
- Replies: 2
- Views: 4214
The Generic Target License doesn't address that issue because the source code and build files are distributed with the ZBasic Compiler. Conceivably, one could build the ZBasic bootloader without having a Generic Target License. However, the ZBasic bootloader isn't of much use without the Generic Tar...
- 16 March 2021, 7:39 AM
- Forum: ZBasic for Generic Targets
- Topic: Wemos/Lolin D1 Mini
- Replies: 1
- Views: 2899
- 14 December 2020, 11:02 AM
- Forum: ZBasic Language
- Topic: WS2811
- Replies: 1
- Views: 3867
Re: WS2811
Even OutputCapture on a ZX24x/u can't handle this fast transitions ..? That's true. It might be possible to bit-bang the protocol but the RTC interrupts (and others) may interfere with the timing. Certainly you'd have to have interrupts disabled for the duration of a transmission sequence. I haven'...
- 25 November 2020, 16:10 PM
- Forum: ZX-24
- Topic: Timer speeds
- Replies: 3
- Views: 3997
How would I start on [counting using an external clock] For starters, you'll need to get the xmega A manual and read up on the timers, the event system and interrupt handlers. http://ww1.microchip.com/downloads/en/DeviceDoc/doc8077.pdf The high level overview would be something like this: - configu...
- 25 November 2020, 13:33 PM
- Forum: ZX-24
- Topic: Timer speeds
- Replies: 3
- Views: 3997
- 24 November 2020, 13:40 PM
- Forum: ZX-24
- Topic: Will a permanent 3.3v connection to ADC drain the battery
- Replies: 3
- Views: 3685
Even though you said that this won't work for you I thought that I'd answer it anyway for the record. If you look at the datasheet where it depicts the protection diodes, you'll see that there is a clamping diode with its anode connected to the pin and its cathode connected to Vcc. Because of this, ...
- 21 October 2020, 7:47 AM
- Forum: ZBasic Language
- Topic: Question on working with large bit fields
- Replies: 4
- Views: 4245
Can't variable names point to where the variables sit? Yes. That's what Based variables are for. However, Based sub-byte types aren't supported because in addition to the base address you'd also have to specify the intra-byte offset and there is no provision to do that. Also, I want to remind you t...