Git Product home page Git Product logo

p8apps's People

Contributors

dapgo avatar jeffmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

p8apps's Issues

wrong BTN event when load xxx.app.js

An wrong BTN pressed event will fired automaticly with out release event when i touching the ico to enter an app with the code load( xxx.app.js)๏ผŒ
And then the BTN pressed event will not fired when i press the button sides of the watch manualy but release event.
And the second press will generate the right event include the press and release event.
I don't know why, and can't find the reason : (
But the BTN event has not appeared when i run the same app from the webIde Storage directly.

I's the code in xxx.app.js here

setWatch(pressedFun, D17,{repeat:true,edge:"rising"});
setWatch(releasedFun, D17,{repeat:true,edge:"falling"});

Supported color range

Hi Thanks for amazing lcd_spi_unbuf library. I am using this library (C code) for ID107 HR plus Color which has 80x160 ST7735 oled
How many colors are supported for this lib? I have set the SPISENDMANY_BUFFER_SIZE=80 in board file

Thanks for sharing, and maybe some inspiration for extensions ;-)

Hi,

Just want to say thanks sharing your Espruino version with emulation of the Bangle functionality on the P8.

Installed it yesterday, your Espruino works fine on the P8, including the functions for the lcd. Also tried your Apploader, also works fine.

Excellent work!

Last year I created my own Bangle-compliant P8 module, using the unbuf Espruino version as shared by @atc1441. But in the meantime I have switched to other things.

Maybe my list of supported Bangle compliant functionality inspires you for extensions ;-). I tried to mimic as much Bangle functions as possible, because it avoids the need to write proper documentation.

Note that my getHeartRate and getStepcount functions do not deliver the right data, still struggling with correct code for interpreting HW-registers. Will have a look at your code for inspiration ;-)

>P8
={
  buzz: function (time,strength) { ... },
  g: Graphics: {
    flip: function () { [native code] },
    on: function () { ... },
    off: function () { ... }
   },
  getAccel: function () { ... },
  getBattery: function (s) { ... },
  getHeartRate: function () { ... },
  getStepCount: function () { ... },
  isCharging: function () { ... },
  isLCDOn: function () { ... },
  LCDOff: function () { ... },
  LCDOn: function () { ... },
  setHRMPower: function (isOn) { ... },
  setLCDBrightness: function (bri) { ... },
  setLCDPower: function (isOn) { ... },
  setLCDTimeout: function (secs) { ... },
  setPollInterval: function (int) { ... },
  "#onlcdPower": function (isOn) { ... },
  "#onbutton": function (pin) { ... },
  "#oncharging": function (isCharging) { ... },
  "#onswipe": function (direction) { ... },
  "#ontouch": function (x,y,long) { ... },
  "#onaccel": function (xyz) { ... },
  "#onfaceup": function (up) { ... },
  "#ontwist": function () { ... },
  brightness: 7, LCDTimeout: 5000, pollInterval: 2, faceUp: true, twist: false }

The source of my P8 modules is added below, for anyone that is interested. Just for reference, no guarantees.
BangleCompliantModuleForP8.js.txt

Clock and issue

I am seeing a periodical issue with the clock, it is the 3rd time that the clock losses an hour but minutes are accurate.
I set time from App loader , for many hour the time is correct but at certain time time is an hour less.

boot/menu.js Memory leak?

When I am using menu.js with some app included from bangleApps (alarm and file manager e.g.) the watch stops working and gives error messages about low memory on web IDE.

File Manager app is just modified to include the menu.js but the Alarm app is slightly modified but the part that uses menu.js is untouched, and even if the alarm.js (the part of the app that handles alarm alerts and vibrations) is left empty the problem still continues. I couldn't quite understand what is causing this.
Also strangely enough the alarm app freezes after adding two alarms, after that you can't even click on the entries to delete/edit them or add new alarms.

err1
err2

Re: your Esprino fork.

Sorry for posting here, didn't see where to post on your Espruino fork. I am using it now with my Pinetime and am wondering if you have folded your SPI changes into Espruino master? They seem harmless and can even be #ifdef'd for specific devices. Any plan to merge?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.