PineTime display and micropython
#18
Sorry to take so long to get back to you. I didn't understand that the video had any wasp-os bits in it so I only just saw it.

Looking at the code I can't see any reason for the heart rate app not to be one the quick ring (left/right swipe). Even if the HR sensor was not connected and the app crashed when the wasp-os runtime should pick that up and display what happened on the screen.

Anyhow if you can get wasptool running (or any other program to send commands to the watch) then you might get some clues by sending the following commands (don't enter the commands starting with a #... they are just to explain what each step does):

# Stop the watch executing code in the background
wasp.system.schedule(False)

# Create a new heart rate app and register it
import apps.heart
app = apps.heart.HeartApp()
wasp.system.register(app)

# Execute the program in the foreground (so we can see any error output)
wasp.system.run()

Hopefully one of these commands will provide some error messages on the console to help debug things. Once you're done you can do a long press reset (5 seconds on side button and then another short press when prompted) to put the watch back to normal.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
PineTime display and micropython - by danielt - 01-19-2020, 04:11 AM
RE: PineTime display and micropython - by Memiks - 01-19-2020, 06:05 PM
RE: PineTime display and micropython - by danielt - 01-20-2020, 03:49 AM
RE: PineTime display and micropython - by Memiks - 01-20-2020, 06:41 PM
RE: PineTime display and micropython - by danielt - 01-21-2020, 03:41 AM
RE: PineTime display and micropython - by lupyuen - 01-20-2020, 09:26 PM
RE: PineTime display and micropython - by danielt - 01-21-2020, 04:25 PM
RE: PineTime display and micropython - by Memiks - 01-22-2020, 09:00 PM
RE: PineTime display and micropython - by danielt - 01-23-2020, 04:07 AM
RE: PineTime display and micropython - by danielt - 01-23-2020, 09:11 AM
RE: PineTime display and micropython - by Mpoint - 04-27-2021, 08:14 PM
RE: PineTime display and micropython - by danielt - 04-28-2021, 03:42 AM
RE: PineTime display and micropython - by Mpoint - 04-30-2021, 10:58 PM
RE: PineTime display and micropython - by danielt - 05-07-2021, 12:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Develop a new firmware for PineTime belushi 2 1,362 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 551 08-20-2023, 05:17 AM
Last Post: Luno
  Zephyr Backlight Examples for PineTime lcj 0 733 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,141 05-06-2023, 02:15 PM
Last Post: lcj
  Send a message from Android to pinetime via BLE razrosman 0 941 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 2,094 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 1,673 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,578 03-20-2022, 08:58 PM
Last Post: jandy
  "Pine64 USB JTAG Adapter + OpenOCD + PineTime" should it work? ITCactus 4 3,996 03-02-2022, 05:58 AM
Last Post: wibble
  Zephyr based Pinetime jandy 4 4,751 11-11-2021, 05:53 AM
Last Post: jandy

Forum Jump:


Users browsing this thread: 2 Guest(s)