-
In order to protect against reverse polarity, I made a trivial insert for Bangle.js and its power connector.
If you own a 3D printer (or have access to one) you may download the necessary files from Thingiverse and print such an insert yourself.
-
-
wow, that was a long post...
Being an "old guy" (well, "senior developer" sounds better) with some hardware background more than a decade ago I also had to think about all these details when developing components for car manufacturers...
But that was long ago. Nowadays, we can do so much with a scripting language, no professional considered seriously when it was invented as "Livescript" by Netscape. Doesn't it feel crazy (in a positive manner), if you compare working directly on an Espruino with a terminal application over BLE with the boards we had 1-2 decades ago (ok, in 2006, I already used VisualC++ and VisualBasic which also were pretty awesome and made me extremely productive)
But, now, I'm eagerly looking forward towards receiving my developer version of Bangle.js - I've already prepared many more experiments which I have not yet published as they work on a real device only...
-
@allObjects let's see how it will perform on the real device!
-
Good morning!
Based on an experiment with this color palette (Gist, run in emulator) I modified the Mandelbrot set display accordingly for the 120x120 display mode (Gist, run in emulator)
-
-
-
-
-
-
Hello Gordon,
are you aware that the "Menus" example in your Bangle.js documentation references
LED1
and, thus, fails for "Backlight On" and "Backlight Off"? -
No, it's the emulator: even
g.clear()
does not work.By the way, here is the Gist of a Mandelbrot Set optimized for 120x120 pixels, and here is the link to start it (which does not yet work, of course)
-
-
-
-
Here is the usual Gist, which may also be directly run in the emulator
-
-
-
-
@allObjects passing
null
for the function producesUncaught TypeError: Second argument to EventEmitter.on(..) must be a function or a String (containing code)
And I do not want to provide a dummy function, since removing an event handler may (now or later) be used for internal optimization (as no handler has to be called if none has been provided)
@Gordon great, thank you! Is there also a possibility to uninstall a specific handler only?
-
Hello!
Besides the pure "fun" experiments published before, I'm also preparing some "professional" experiments to be run as soon as I will get my developer preview of Bangle.js
This is why the following question came up: I know that I can install an event handler for the Accelerometer using
Bangle.on('accel',...);
But, how do I deinstall that handler again?
-
@allObjects thanks for the screen shot!
-
@Gordon Nice idea, but...
...I'm afraid it will drain the battery dry in no time.
And, it would require double-buffering (thus, reducing the available screen space). What, if one would reduce screen resolution - would that also reduce double-buffering memory requirements and (on the other side) handle the full screen space?
-
Sorry,
but I could not resist...
During my time as a student at university, it became cool to render the famous "Mandelbrot set" - which took hours on those old personal computers a student could afford.
Now, that we have Bangle.js, let's see how it performs. Here is the gist which you may directly run in the emulator, as usual.
The default settings produce a reasonably impressive result within a few seconds.
You may play around with the code yourself by adjusting the "ColorMap" - its size also determines the max. number of iterations and directly influences the time it takes to produce some output.
Have fun!
Hello!
I'm currently experimenting a bit with my Bangle.js developer device.
Does anybody know how to make a screenshot of the device and send it back to a connected PC? Graphics.asBMP/URL and Graphics.dump() do not seem to work on a Bangle.js and Graphics.asImage fails due to insufficient memory.
Thus, I'm a bit lost right now...
Does anybody have an idea?