Search found 446 matches

by philr
Tue May 09, 2017 2:58 am
Forum: MegunoLink
Topic: SoftwareSerial example
Replies: 6
Views: 10196

Re: SoftwareSerial example

Hi Bill, are you sending the correct message? I think it should be like this example"!OnTime 50\r\n". The command handler uses the ! to identify the start of a message and the \r\n for the end.

Cheers
Phil
by philr
Tue May 02, 2017 2:01 am
Forum: MegunoLink
Topic: PowerSTEP01 arduino library
Replies: 5
Views: 9893

Re: PowerSTEP01 arduino library

Hi Joe, was this using the library we link to in our article?
by philr
Wed Apr 26, 2017 3:48 am
Forum: MegunoLink
Topic: Automatic save log
Replies: 1
Views: 4146

Re: Automatic save log

Hi, you can use our reporting feature (little scroll icon on the main menu). You first set up a log using our "Log to File" or "Message Logger" visualizers. Then configure the reporting to export the file every hour or whatever frequency you would like. While you can not rename t...
by philr
Wed Apr 26, 2017 3:41 am
Forum: MegunoLink
Topic: SoftwareSerial example
Replies: 6
Views: 10196

Re: SoftwareSerial example

Hi Bill, here is a modified version of our example showing how to point the command handler at the software serial source. It should work (although I don't have the hardware to test with). #include <SoftwareSerial.h> #include <CommandHandler.h> SoftwareSerial Xbee(3, 4); int NumberOfTurtles = 0; Com...
by philr
Sun Apr 23, 2017 4:12 am
Forum: MegunoLink
Topic: XBee 2 data pins
Replies: 10
Views: 14669

Re: XBee 2 data pins

Excellent, hope it helps.
by philr
Sun Apr 23, 2017 4:11 am
Forum: MegunoLink
Topic: SoftwareSerial example
Replies: 6
Views: 10196

Re: SoftwareSerial example

Hi Bill, what part of the library do you want an example of?
by philr
Sun Apr 23, 2017 3:32 am
Forum: MegunoLink
Topic: How to set default item within value list?
Replies: 4
Views: 7308

Re: How to set default item within value list?

I don't believe it will. Thats the only problem with the default. You might be better to have a "get current state" button that gets clicked (by the user) before anything else. It could update all the UI to be correct before anything gets adjusted.
by philr
Wed Apr 12, 2017 4:10 am
Forum: MegunoLink
Topic: How to set default item within value list?
Replies: 4
Views: 7308

Re: How to set default item within value list?

Hi, this is now possible in the latest update.

Cheers
Phil
by philr
Tue Apr 04, 2017 5:34 am
Forum: MegunoLink
Topic: XBee 2 data pins
Replies: 10
Views: 14669

Re: XBee 2 data pins

Hi Bill, that code is in one of our examples. The arduino program is called MultiSourceCommandHandler.ino. It allows you to have multiple sources triggering a single set of commands. Our library is typically installed inside the libraries folder of your Arduino IDE. In my case it is in "\arduin...
by philr
Mon Apr 03, 2017 11:07 am
Forum: MegunoLink
Topic: XBee 2 data pins
Replies: 10
Views: 14669

Re: XBee 2 data pins

Hi, this example shows our command handler using multiple sources https://github.com/Megunolink/MLP/blob/master/examples/InterfacePanel/MultiSourceCommandHandler/MultiSourceCommandHandler.ino I think you could replace CommandProcessor<> Serial2CommandHandler(CommonCommands, Serial2); with CommandPro...