Skip to content

jonsequitur/pi-top

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-top

.NET Core API for pi-top4, check out the dotnet/iot repo for loads of device bindings!

Build status Join the chat at https://gitter.im/pi-top-dotnet/community

Experimental!!

Set up all by running this from your pitop

pi@pi-top:~ curl -L https://raw.githubusercontent.com/colombod/pi-top/master/setup-device.sh | bash -e

Once executed you will have this repo cloned at

/home/pi/pi-top-net-api

The code is compiled and the NuGet packages version 1.1.1 are located at

/home/pi/localNuget

You can activate the Python environment using the command

pi@pi-top:~ source .jupyter_venv/bin/activate

Later on can jsut update using the command

pi@pi-top:~ curl -L https://raw.githubusercontent.com/colombod/pi-top/master/update-device.sh | bash -e

Manual installation steps

The src directory contains the code for libraries you can use to create .NET Core apps for the amazing pi-top4 platform. Get one and get creative.

Requires .NET Core SDK 3.1 LTS for ARM32

The libraries comes along with dotnet interactive integration so you can use notebooks to explore the power of pi-top.

To use the notebook examples in the folder examples/notebooks you will need jupyter lab

To use the notebook sampples in the folder examples/vs-code you will need vs-code and vs-code extension on your local machine

Build the libraries and packages

  • build the project > dotnet build
  • if you do not have it, create the folder /home/pi/localNuget
  • pack the projects with > sh tools/pack.sh 1.1.1 it will package the project into the /home/pi/localnuget using version 1.1.1

Look at this example.

image

About

.NET core api for pi-top[4]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.9%
  • Shell 3.1%