-
Got the following on the IDE after doing about 6 g.dump() calls with the asteroids app running.
=undefined Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL Interpreter error: [ "FIFO_FULL" ] New interpreter error: FIFO_FULL >print("<","<<",JSON.stringify(process.env),">>",">") < << {"VERSION":"2v10.114","GIT_COMMIT":"0014dcca","BOARD":"BANGLEJS2","FLASH":1048576,"SPIFLASH":8388608,"HWVERSION":2,"STORAGE":8388608,"RAM":262144,"SERIAL":"6423edf0-b3f07955","CONSOLE":"Bluetooth","MODULES":"Flash,Storage,heatshrink,tensorflow,locale","EXPTR":442640} >> > =undefined
-
Good idea, but to be clear this is about the app loader view from the user perspective. It still allows for seperate versions of the code in the src/app directory.
Creating a single App that supports all Bangle Js devices ideally means a single source file. That means..
- conditional code based on hw version
- using the layout manager
- using tricks like
g.setFont('Vector', g.getWidth()/8)
- conditional code based on hw version
-
Just wondering what others have experienced with the Bangle 2 GPS.
I live in a terraced street and Bangle 1 can usually get a fix fairly quickly when out in the street.
With Bangle 2 I have not been sucessful getting a fix in the street - especially if I move about.
If I leave it on top of the wheely bin in the back yard I can get a fix
And it gets a fix within 50 seconds if I put it next to the window in our attic bedroom.The receiver seems more susceptable to buildings etc.
-
-
I guess this is mainly for the 'Kitchen' app?
It was a general question though it does apply to Kitchen Combo.
The original motivations for kitchen combo were:
- ability to switch to another App without the GPS turning off and having to go through first fix
- ability to share the GPS fix between apps quickly
- speed in terms of switching between apps
- avoidance of having to navigative through the launcher to another app
I agree that 2v10 solves about half of these issues.
Bangle.isGPSOn()
andBangle.setGPSPower(1,'mytag')
have improved things enormously. When the new JIT to assembler code project is done I would guess that apps will load superfast without any delays when you switch to start the launcher and select an app.so if you're finding you are fighting the system.
Kitchen combo was not so much fighting the system but pushing things to the limits of what could be done at the time. I'm going down the route of seperate apps on Bangle 2. No plans to port Kitchen Combo to Bangle 2. I have built GPS Touch for Bangle 2 which is effectively a replacement for Walkersclock - but a lot cleaner in the code and easier to use.
- ability to switch to another App without the GPS turning off and having to go through first fix
-
There is a need for a quiet mode with anything that might go off while you are asleep. EG I dont care about that system update notifciation on my phone at 3AM. But I dont like the current implementation that much. Not sure why the setting is not implemented through the firmware instead of every app that does a buzz having to check quiet mode. Could the firmware silently return from Bangle.buzz() if quiet mode is enabled ?
-
-
-
-
GPSInfo is currently broken for me.
You can do a quick check on the GPS via the IDE console using:
Bangle.on('GPS', (fix) => console.log(fix)); Bangle.setGPSPower(1);
Once it powers on you should see the chip responding every second.
If you put the watch outside you should see it get a fix after about 5-10 mins. -
-
I'm sure this was working on my B2 before.
Have I got the latest Layout code ?
How does GPS info keep in sync with any changes to the Layout code.Uncaught Error: Function "map" not found! at line 1 col 975 ...:[this._l,{type:"v",c:buttons.map(b=>(b.type="btn",b.h=btnHeight... ^ in function "Layout" called from line 1 col 858 ...",id:"progress"}]},{lazy:true});}g.clearRect(0,24,g.getWidth(),... ^ in function called from system
-
Apologies this may have come up before but I could not find it in the search.
Is it safe to register a listenner more than once ?
Is there a way to find out if I have already regsitered a listenner ?How this arises. I have an app that can turn the GPS on / off. I also have a control that can switch on the logger without having to exit the App, switch it on and then reneter my App. If the Apps starts with the GPS off, I may power it on and then switch on the logger. If the Apps starts and I switch on the logger then this will effectively power on the GPS and I want to register a listener at that point as well.
BTW could not find documentation for Bangle.on() in the API reference ? Am I missing something.
-
Thanks @Gordon - we can now die by our own mis-configurations.
I had a look at this and got as far as.
https://github.com/espruino/Espruino/blob/master/libs/js/banglejs/E_showMenu.min.js
The code is mimified ? Is there a way to unmimify ?
It does appear that the menu font is set 6x8 x2. -
-
@Gordon have fixed pull request for Stopwatch Touch. Have dropped the changes to Widbatpc.
-
-
For Bangle 2 we have
Launcher (default) and Launcher (Bangle 2).Why is Launcher (default) configured as a Bangle 2 launcher when you need the Launcher (Bangle 2) version ? Why not just configure Launcher (default) for Bangle 1 only ? So that only the working Launcher (Bangle 2) is shown in the App Loader when you have selected Bangle 2 ?
-
-
My App Loader appears broken after merge with latest codebase.
It was all working an hour before.Updated my git repository and got the latest code.
Tried to run the app laucher.
No Apps are displayed
Get a pop up selection Bangle 1 or Bangle 2.
After making selection no Apps are displayed.
All Apps under MyApps say 'unknown' app.Hmmm - I had to do a merge clash resolve on apps.json - will check that first.
-
I had a look at the web page. Interesting stuff. I played around with it for a bit. Not quite sure why all the links are half page PDF files. Apart from quirkyness I am left wondering what motivated you to get this far with the project - must have been part of something else ?
I still don't know, however, what causes it to gain, slowly but noticeably.
It will be down to the accuracy of the componant chip. It is more than likely that each watch will drift around with varying degrees. Its not something I have ever noticed as I am not bothered about 1 second here or there. The great thing is that the RTC of the GPS is so much more accurate and a small amount of code was able to compensate. Its a great success story for an Open Source Smartwatch.
-
does your app really need 7 optional fonts?
I wanted to produce a configurable watch. One that had options that would change its appearance.
Will anyone actually use them all,
No. I expect the user will try them out and choose the one they like the feel of most. Then they might switch back and forth every few days to another one depending on what they were in the mood for. I have chosen 7 fonts that are as different from each other as I could get.
The new firmware updater app says load a .hex_app file.
But when you download the : espruino_2v10.142_banglejs2.zip the isn't a .hex_app file ?
How is this mean't to work ?