Search found 77 matches
- 24 September 2024, 23:32 PM
- Forum: ZBasic for Generic Targets
- Topic: PutQueueStr
- Replies: 1
- Views: 165
PutQueueStr
i have a Nextion serial display and i have problems sending long string data . i am displaying a scrolling text that is usually over 200 characters ,, strange behavior from Mega2560 : Const LcdComB as byte = 7 Const LcdComSpeedL as long = 38400 Const LcdMoSiPin as byte = H.1 ' HW7 Const LcdMiSoPin a...
ZX24u PWM
Strange behavior with PWM ch10 on a ZX24u .
If i have PutPin(17, 0) before OpenPWM , i get a voltage output of 0-600mV .
If i have PutPin(17, 1) before OpenPWM , i get a voltage output of 600mV-3.3V .
If i leave out the PutPin , the PWM is good 0-3.3V .
If i have PutPin(17, 0) before OpenPWM , i get a voltage output of 0-600mV .
If i have PutPin(17, 1) before OpenPWM , i get a voltage output of 600mV-3.3V .
If i leave out the PutPin , the PWM is good 0-3.3V .
- 15 November 2023, 22:26 PM
- Forum: ZBasic for Generic Targets
- Topic: Mega2560 PWM on channels 10-12
- Replies: 4
- Views: 3409
Re: Mega2560 PWM on channels 10-12
Update has worked well !
Thanks !
Thanks !
- 26 October 2022, 1:32 AM
- Forum: ZBasic Native Mode
- Topic: ESP32
- Replies: 0
- Views: 4468
ESP32
Any updates working on ESP32 ?
i would be willing to pay if ESP32 chips could be ZBasic programmable ...
i would be willing to pay if ESP32 chips could be ZBasic programmable ...
- 14 December 2020, 2:32 AM
- Forum: ZBasic Language
- Topic: WS2811
- Replies: 1
- Views: 3835
WS2811
Is there a way to drive WS2811 led's with ZBasic ?
I have used APA102 led's that don't require strict timing , but these are hard to source ...
WS2811 needs a timing resolution of 0.25us ...
Even OutputCapture on a ZX24x/u can't handle this fast transitions ..?
I have used APA102 led's that don't require strict timing , but these are hard to source ...
WS2811 needs a timing resolution of 0.25us ...
Even OutputCapture on a ZX24x/u can't handle this fast transitions ..?
- 12 February 2020, 23:36 PM
- Forum: General
- Topic: Adafruit IO
- Replies: 0
- Views: 7517
Adafruit IO
Anyone used the Adafruit IO platform ? io.adafruit.com It looks like an easy way to interface to the internet . I have a project that uses ZX40s as the heart and added a ESP8266 with the stock AT firmware , i am able to connect to io.adafruit.com with the AT commands , but cannot get the server to a...
- 29 December 2019, 4:34 AM
- Forum: ZBasic for Generic Targets
- Topic: Mega2560 PWM on channels 10-12
- Replies: 4
- Views: 3409
- 28 December 2019, 5:26 AM
- Forum: ZBasic for Generic Targets
- Topic: Mega2560 PWM on channels 10-12
- Replies: 4
- Views: 3409
Mega2560 PWM on channels 10-12
Can't open PWM channels 10-12 on the Mega2560 , what am i missing , Timer5 should not be used anywhere ... Const PwmTaajuusCS as single = 400.0 'Hz fine for leds Call OpenPWM(4, PwmTaajuusCS, zxFastPWM, OnniTF) ' ch4-6 If OnniTF = False Then Debug.Print "Can't open PWM 4-6 !&quo...
- 01 November 2018, 0:23 AM
- Forum: ZBasic Language
- Topic: Driving a tri colour LED
- Replies: 3
- Views: 2916
- 10 September 2017, 23:54 PM
- Forum: ZBasic Language
- Topic: RPM simulator
- Replies: 2
- Views: 3001
RPM simulator
I built a engine simulator and used a ZX24x as the triggering simulator , this proved to be more difficult than i thought . Currently i read the RPM setting potentiometer in every loop , so that it does not affect timing , then i output a Trigger and Home pulses with PulseOut . Usual trigger pattern...
- 26 July 2017, 6:47 AM
- Forum: ZBasic for Generic Targets
- Topic: 8channel ADC on 328P
- Replies: 1
- Views: 2387
8channel ADC on 328P
Are the ADC6 & ADC7 accessible with ZBasic , how ?
The 2 extra analog inputs are on ATmega328P TQFP and QFN/MLF package .
The 2 extra analog inputs are on ATmega328P TQFP and QFN/MLF package .
- 26 July 2017, 6:28 AM
- Forum: ZBasic for Generic Targets
- Topic: Generic UART not working above 57600
- Replies: 1
- Views: 2405
Generic UART not working above 57600
Generic targets work great ,,, as long as You keep below ConsoleSpeed of 57600 ... 115200 does not work for my boards , is it a generic target issue or something i have overlooked ? This affects both the 328P & Mega2560 . . . Option TargetDevice ATmega2560 Option DeviceParameter clockFrequency 1...
- 23 May 2017, 10:27 AM
- Forum: ZBasic for Generic Targets
- Topic: Arduino Mega2560 board => ZBasic
- Replies: 9
- Views: 5394
Generic Mega2560
Works great ,,, as long as You keep below ConsoleSpeed of 57600 ... 115200 does not work for my boards , is it a generic target issue or something i have overlooked ? I have not tested if this affects other UART's on the Mega2560 . . . Option TargetDevice ATmega2560 Option DeviceParameter clockFrequ...
SJA1000
I have a project that uses 3 CAN busses : 500k 11bit , 500k 29bit and 83k 11 bit . I used a ZX24s when i only had the 11bit busses , but now i needed to add the 29bit also and i needed 3 hw serial ports so i swapped the 24s to a 24u . I am close to clearing all buffers in time but occasionally one o...
- 23 March 2015, 3:39 AM
- Forum: ZBasic Native Mode
- Topic: RTC not updating correctly with PulseOut
- Replies: 1
- Views: 2816
RTC not updating correctly with PulseOut
The RTC does not get updated correctly on native mode devices when using PulseOut . I've seen this problem with 328n , ZX24s and ZX24u . Option TargetDevice ZX24s ' Works fine with ZX24r Dim SeppoS as single Sub Main() Do Debug.Print fmt(Timer,1);" "; If Tim...