Search found 21 matches

by Paul
Wed Mar 11, 2020 8:34 am
Forum: MegunoLink
Topic: Exponential filter
Replies: 5
Views: 4779

Re: Exponential filter

Great. Glad you got it worked out.
by Paul
Mon Mar 09, 2020 7:05 pm
Forum: MegunoLink
Topic: Exponential filter
Replies: 5
Views: 4779

Re: Exponential filter

Hi Steve, Glad it worked out. To initialize the filter variable you still need an initial value, just don't need the variable for it. So: ExponentialFilter<float> lvlFilter(5, 0); Then you won't need to set the weight in the BLYNK_WRITE function. It is worth thinking about the race condition too. If...
by Paul
Mon Mar 09, 2020 9:06 am
Forum: MegunoLink
Topic: Exponential filter
Replies: 5
Views: 4779

Re: Exponential filter

Hi Steve, The line ExponentialFilter<float> distFilter(5, distStart); //initialise distance filter with last recorded value runs before your void start(){...} function. At this point the program hasn't retrieved anything from the Blynk server. So the value of distStart will be 0. I think what you ne...
by Paul
Sun Dec 15, 2019 9:54 pm
Forum: Bugs
Topic: Visualiser - Gauge
Replies: 1
Views: 1413

Re: Visualiser - Gauge

Hi Leon,

I've added white as an option for the needle color, so it will be in the next update. The needle width and center disk are scaled together by the needle width value. Do you have an example where the scaling doesn't look right?

Have a good day,
Paul.
by Paul
Sat Oct 26, 2019 5:17 am
Forum: Bugs
Topic: the user name or password is incorrect
Replies: 2
Views: 1356

Re: the user name or password is incorrect

Hi Jan, That is a puzzling error message. My guess is that there is a problem with the path you selected for saving the log file. Could you tell us the path please? If your log file is on a network drive then MegunoLink will not have the credentials to connect. You'd need to make sure you can see th...
by Paul
Wed Jul 10, 2019 10:03 am
Forum: MegunoLink
Topic: AddCommand: full
Replies: 2
Views: 735

Re: AddCommand: full

Hi Eusaki, It probably means you are using our command handler library and have tried to register too many commands. By default you can only add 10 commands before the internal array that stores them is full. Check out the examples here for increasing the number of commands you can add: https://www....
by Paul
Wed Aug 22, 2018 8:55 am
Forum: MegunoLink
Topic: Trouble with Installer built with Builder
Replies: 5
Views: 1646

Re: Trouble with Installer built with Builder

We'd like it to be simple for all. Still a little ways to go, but feedback really helps us understand where we need to improve. So thanks for getting in touch!

Please don't hesitate to reach out if you have any more problems.
Have a great day,
Paul.
by Paul
Tue Aug 21, 2018 11:29 pm
Forum: MegunoLink
Topic: Trouble with Installer built with Builder
Replies: 5
Views: 1646

Re: Trouble with Installer built with Builder

Hi Griiker, I'm wondering if you put a path in the "Destination Folder" field in the "Edit Project Item" dialog? Normally this isn't needed. When it is blank, the project item will get installed in the main install folder. You can put a folder name here to have it installed in a sub folder. A full p...
by Paul
Sun Apr 22, 2018 9:46 am
Forum: MegunoLink
Topic: TrackBar Command Editor
Replies: 4
Views: 1579

Re: TrackBar Command Editor

Hi Tim, The latest version (1.20.18108.0418) released today will let you get the actual bytes. In your case, you'll want something like: \xFF\x00[Tools.AsByte((byte)TrackBar.Value)] The \xXX are literal byte values; Tools.AsByte(...) converts a number to a sequence of bytes. Expressions (surrounded ...
by Paul
Wed Apr 11, 2018 1:49 am
Forum: MegunoLink
Topic: TrackBar Command Editor
Replies: 4
Views: 1579

Re: TrackBar Command Editor

Hi, You can use: [((int)num.Value).ToString("X4")] to create a message with hex values in a string. But I think you want actual bytes. Unfortunately that doesn't seem to be working at the moment. MegunoLink is converting numbers to strings. I will try to figure out what's gone wrong and fix it. Kind...