How to sent negative number to Megunolink and display it.

Support forum for MegunoLink
Post Reply
mtaufiq23
Posts: 5
Joined: Thu Oct 15, 2015 2:30 pm

Tue Jun 28, 2016 5:46 am

Hi there,

I try to sent negative number to megunolink like this:

byte negative = -20;
PanelDashboard.SetNumber("I", negative);

But in megunolink, it displays a positive value which is 20.

Any help is appreciated.
philr
Posts: 463
Joined: Mon May 26, 2014 10:58 am

Wed Jul 06, 2016 1:45 am

Hi, could you please run this command with MegunoLinks monitor window open and paste the text it receives here? I'll use that to debug the problem.

Cheers
Phil
Post Reply