Skip to content

Develop applications for the Tillitis TKey-1 using TinyGo

Notifications You must be signed in to change notification settings

hybridgroup/tinygo-tkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinygo-tkey

Develop applications for the Tillitis TKey-1 using TinyGo.

It includes an implementation of the Tillitis framing protocol for communication (https://dev.tillitis.se/protocol/) between the device and client that can be used for applications that run on the TKey written using TinyGo.

Examples

tkey led

Example application for TKey written using TinyGo for the device application and Go for the client application.

Device application

To compile and flash the TKey with the device application:

tinygo flash -size short -target=tkey ./examples/blinker/app

The LED should start blinking green every half second.

Client application

Now you can run the command line client application on your computer:

go run ./examples/blinker/cmd --led 0 --timing 250

The LED should now be blinking blue every 250 ms.

About

Develop applications for the Tillitis TKey-1 using TinyGo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published