-
Posts
267 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Everything posted by Cosmik42
-
Really fun idea!!!
-
Sorry, I meant sound effects :) And I got my answer from the other thread :P
-
This is awesome! What do you use to trigger the SFX?
-
That sounds amazing!
-
I think Black is the most confusing color for the detector. Because it is hard to estimate distance when the surface is black. If it never triggers its because it never believe it is close to the color itself. I had a more in-depth look and I believe I can support EV3 in a just a couple days of coding.
-
Sounds amazing! Do you plan to sell these? Any chance to make them compatible with PF or PF2 plugs? Would love to integrate these to "The Lego Train Project" if you make them available.
-
Given you want to double down on the color route, let me know if you want me to expose this 'partial' trigger? Yes! Forgot to add it to the helper list. It is SetLEDColor(Colors color) where Colors is an enum with the following options: public enum Colors { BLACK = 0, PINK = 1, PURPLE = 2, BLUE = 3, LBLUE = 4, CYAN = 5, GREEN = 6, YELLOW = 7, ORANGE = 8, RED = 9, WHITE = 10 } Mostly yes. There's a lot more but most of it is internal stuff. I had no idea EV3 was Bluetooth enabled! I just found a great open-source library to connect to it. Sounds like an amazing idea! I will definitely explore this!
-
@Toastie, great link! Taken from it, I think this is the best answer matching both your experience and the one of @Mr Hobbles : "[The number of BLE device you can connect to] depends on the amount of RAM you have available on the master device. For a stand-alone Bluetooth dongle where the stack runs on the dongle itself, this is anywhere from 6 - 8. A lot of dongles I have seen support 7. That said, if the dongle is using the Bluetooth stack that’s built into the operating system (or if you use the built-in Bluetooth adapter on the phone/tablet), then you are not RAM-limited (you have gigabytes available rather than a few hundred kilobytes), so the limit is a lot higher."
-
Well now you understand why I never exposed them before. The color detector constantly 'think' he has found a color but often he is just plain wrong. The 'partial' value correspond to how close you are from the detector. I trigger only if a color is triggered close enough to the detector so that we are 100% certain it is in fact this color. I could probably let you adjust the 'partial' level if you want to. But right now it is set to 5 minimum (1/5 of an inch).