“id” command is not printing out response to serial. Only prints out the ID value to USB.
id
has been deprecated. Use scanid
instead.
Does it also give a correct ID value?
May I suggest this thread. Will probably do some testing on 8.1 during the weekend on a V3.9.
But I’ve found weird readings when the MOSFETs are shared, even on different datalines. But I want to test again for that case. Again, in that thread used an ECO V2, which prevents any good BladeID, and then a V3 in V4 configuration with a V2.2 with a 33k resistor between Data 1 and 3.3V. So now I would like to test on a V3.9 because it has two pins jumped, and thus I don’t know how accurate it is.
On a totally different note, love your new 69 pixel plugs. As soon as I solve some issues with work I will contact to acquire a couple.
This is very confusing, for several reasons:
- Like NoSloppy pointed out, use “scanid” instead of “id”.
- Output is normally directed to the terminal that issued the command, so if you run “scanid” in SerialMonitor, you should see the ID there. If you run it from a serial connection, the output should come out there.
- Asynchronous output, like the battery monitor is normally printed to the USB Serial monitor, and not printed to the serial port. You can change which terminal receives the async messages with the “make_default_console” command.
- There is currently no command to turn off the battery level that is printed out by the battery monitor every 20 (other than modifying the code of course).
So this is the scanid command, but I don’t see the ID value in response here:
scanid
-+=BEGIN_OUTPUT=+-
blade = 0
WS2811 Blade with 136 leds.
WS2811 Blade with 5 leds.
Simple Blade
Scanning sound font: Ahsoka 20 test done
Activating polyphonic font.
Activating SmoothSwing V2
Accent Swings Enabled.
Polyphonic swings: 16
Monophonic swings: 0
Accent Slashes NOT Detected:
-+=END_OUTPUT=+-
“scanid” command doesn’t print anything to the serial bluetooth.
What version of ProffieOS? I think this might already be fixed in 8.x (unless your log level is too low.)
ProffieOS v7.15
Please try 8.x and see if it fixes the problem.
nope, same as before:
scanid
-+=BEGIN_OUTPUT=+-
WS2811 Blade with 16 leds.
WS2811 Blade with 5 leds.
Simple Blade
Scanning sound font: 6
done
Activating polyphonic font.
Activating SmoothSwing V2
Accent Swings Enabled.
Polyphonic swings: 16
Monophonic swings: 0
Accent Slashes NOT Detected:
-+=END_OUTPUT=+-
Maybe because the printout was moved to STATUS level?
Does that need to use STDOUT instead?
STDOUT << "BLADE ID: " << ret << "\n";
Yes, that is the reason. PVLOG is not really meant for essential output, and is always printed to the “default output”, which is usually USB serial, not Serial3 (where BT usually connects).
I guess the question is: Is this essential output? @ShtokyD what are you using this value for?
I have a function in my Forcesync bluetooth app to show the current Blade ID value, it’s useful for users.
Yes, changing it to STDOUT fixed this issue and now blade ID prints to bluetooth serial