You have reached the legacy GHI Electronics, LLC website, for the new website please visit here. For the new forum please visit here.

This legacy website will be taken offline at the end of this year. If there is anything that you would like to archive and save for future reference please do so.

Joystick Module X/Y to degrees (0-359) by willgeorge

Jul. 6, 2016   |   Project   |   Licensed as Apache 2.0   |   1016 views

I thought I would share some test code I came up with
to display the Joystick Module X/Y into degrees (0 to 359).

I have not been able to find any examples for netmf so I made my own.

Folder JoystickXYSD

Most of the code is for options to use and not needed.
It is included to graphicly show the joystick XY in degrees
and saving the bitmap to a SDCard file.

The application draws the degree pointer to a bitmap that
can be saved to a SDCard.

Folder JoystickXYNoSD

This is a barebones application that does not
use the SDCard to save the bitmap.

The images are gif files made from the saved bitmaps.

I am using a Raptor, T43, SDCard

Visual Studio 2013 Pro
Windows 10 Pro

.NET Micro Framework SDK 4.3 (SDK-QFE2)
GHI Electronics NETMF SDK 2016 R1

Loader (TinyBooter)
4.3.8.1

Firmware (TinyCLR)
4.3.8.1

Usage is the example code

Have Fun..

Comments or questions?   Discuss on the forum.



Author Version Date
willgeorge 1 07/06 '16 at 12:19pm