Skip to content

P8X32A/Propeller, P2X8C4M64P/Propeller 2 library of GUI-related functions

License

Notifications You must be signed in to change notification settings

avsa242/gui-spin

Repository files navigation

gui-spin


This is a P8X32A/Propeller, P2X8C4M64P/Propeller 2 library of GUI-related elements

IMPORTANT: This software is meant to be used with the spin-standard-library (P8X32A) or p2-spin-standard-library (P2X8C4M64P). Please install the applicable library first before attempting to use this code, otherwise you will be missing several files required to build the project.

Salient Features

  • Object-oriented - attached at the application level to any compatible display driver
  • (P1): Scrollable text window (for ANSI serial terminals)
  • (P1): Touchscreen button management (for EVE displays)
  • (P1, P2): Battery gauge widget
  • (P1): GUI frame widget (for EVE displays)
  • (P1, P2): Oscilloscope plot
  • (P1, P2): Frequency spectrum plot using FFT
  • (P2): Waterfall plot

Requirements

P1/SPIN1:

  • spin-standard-library
  • metrology.spectrum.spin: dsp.fft.spin

P2/SPIN2:

  • p2-spin-standard-library
  • metrology.spectrum.spin: dsp.fft.spin2

Compiler Compatibility

Processor Language Compiler Backend Status
P1 SPIN1 FlexSpin (6.1.1) Bytecode OK
P1 SPIN1 FlexSpin (6.1.1) Native/PASM OK
P2 SPIN2 FlexSpin (6.1.1) NuCode Not yet implemented
P2 SPIN2 FlexSpin (6.1.1) Native/PASM2 OK

(other versions or toolchains not listed are not supported, and may or may not work)

Limitations

  • Very early in development - may malfunction, or outright fail to build
  • Some objects are currently limited to certain display drivers

About

P8X32A/Propeller, P2X8C4M64P/Propeller 2 library of GUI-related functions

Topics

Resources

License

Stars

Watchers

Forks