Start a new topic

Waveform not showing

Why is the following code does not show  in the waveform when runned from the page postinitialised event.


randset 1,255
while(va0.val<20)
{
  n0.val=rand
  delay=300
  va0.val++
  add 1,0,n0.val
  ref 1
}

The same code works when sent from a Picaxe through the serial port

HMI

Waveform does not take values well from inside itself (on the Nextion).

It was probably designed with the intent of receiving values over serial.

therefore the add command is looking for a number as third parameter and not dynamic parsed value.


Thanks

It is too bad.

I was trying to save a few bytes on my already too crowdy Picaxe microcontroller memory.

Login or Signup to post a comment