Skip to content

TotalCross/embedded-samples

Repository files navigation

embedded-samples

Sample code illustrating what is possible to build for Linux Arm using TotalCross.

Get Started   •   Website   •   Docs   •   Blog   •   Forum   •   Videos   •   Community

💻 Samples

These are our samples:

Sample Name Description Project Name
Bad Apple Bad Apple animation running at 60 fps with totalcross for Linux Arm bad-apple
Breakout Breakout game built with totalcross para Linux arm e Android breakout
Corona chart Animated coronavirus data chart corona-chart-app
Dashboard Graphical User Interfce of a panel that uses several functions of embedded systems dashboard-sample
KnowCode Hello World First application (Hello World) using KnowCode hello-knowcode
TotalCross Hello World first application (Hello World) using TotalCross hello-world
Printer Example of a graphical printer user interface printer-application
Expanding Raspberry Pi ports Expanding the Raspberry Pi ports using an Arduino rpi-expansion-ports-sample
Toradex Launcher Responsive sample to run on Toradex launcher toradex-launcher-sample
Home Appliance Sample of Home Automation home-applianceXML
Medical Device Sample of Oxygen and Pulse Monitor medical-device

They are available for download here:

Version Source Binaries
v1.0.0 Source Binaries

📹 Gifs and Screenshots

HomeAplianceXML

👩‍💻 Usage

  • git clone https://github.com/TotalCross/embedded-samples/ or download the .zip by clicking the green "Code" button next to repo name and choosing "Download ZIP".
  • If you downloaded .zip file, uncompress it in a folder and open it.
  • If you are using Linux, run code <embedded-samples> or open VS Code and Click in "File > Open..." and select totalcross-embedded-samples in the file dialog that will be shown.
  • With project opened in VS Code, navigate to desired sample folder (like HomeApplianceXML).
  • Look for its [SampleName]Application.java and right-click.
  • Choose the "Run" option in the popup.
  • Alternatively, follow the instructions in each sample's README for setting up and running the sample.
  • Have a nice time developing with TotalCross!

If you prefer to use another IDE, like Eclipse, IntelliJ, on anyother, see Getting Started

🚧 Contributing to TotalCross Embedded Samples:

Choose the way to contribute and follow these steps:

With code:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and commit them: git commit -m '<commit_message>'
  4. Push to the original branch: git push origin <project_name>/<location>
  5. Create the pull request.

Help us to improve:

📖 More Samples and Tutorials

📢 Contact

📄 License

Copyright (c) TotalCross Platform. All rights reserved.

Licensed under the MIT License.