You're not connected to the Internet.

Description

Netduino Go! - Potentiometer Module

Sample Code:

using Microsoft.SPOT; namespace Module_Tests { public class Program {
public static void Main() { NetduinoGo.RgbLed led = new
NetduinoGo.RgbLed(); NetduinoGo.Potentiometer pot = new
NetduinoGo.Potentiometer(); // pot.GetValue() - Returns a float from 0
to 1. while (true) { led.SetColor(0, 0, (byte)(pot.GetValue() * 255));
} } } }

Code with method to set a custom range:

using Microsoft.SPOT; namespace Module_Tests { public class Program {
public static void Main() { NetduinoGo.RgbLed led = new
NetduinoGo.RgbLed(); NetduinoGo.Potentiometer pot = new
NetduinoGo.Potentiometer(); while (true) { led.SetColor(0, 0,
(byte)(Map(pot.GetValue(), 0, 1, 0, 255))); } } // Used for mapping
range of values to another range, linearly. public static float
Map(float input, float inMin, float inMax, float outMin, float outMax)
{ return ((input - inMin) * (outMax - outMin) / (inMax - inMin) +
outMin); } } }
more

Specifications

Click 'show more' to display specifications.

General information

Manufacturer Secret Labs LLC
Product type Electronics module
Item number5998855
Manufacturer no.P00000315

Please click directly on the incorrect data to access the registration form.

Alternatively, you can register a generic error-report (wrong picture, unsuitable accessories, etc.)

Cancel

Report incorrect data

Correction suggestion

Comment

Report incorrect data

If you wish to learn more about this product, please visit the manufacturer's website or contact us: digitec@digitec.ch

Warranty & right to return

Warranty 24 month Bring-in

Limited right of return

Warranty and return

Please use our simplified returns and warranty process to return a product or register a warranty case. Returns and warranty

Please use our simplified warranty process to view the warranty period as well as any warranty extensions you may have purchased. This will ensure that your return or warranty case is processed quickly and effectively.

Availability

Mail delivery

 Currently unavailable. Delivery date unknown.
We do not have any information regarding the delivery date. It will be shown as soon as it's known.

Information subject to change.

Customer questions and answers

No questions so far.

Do you have a question? Ask the digitec community.

Ask a question

Ask other customers about product properties, performance or use.

Customer ratings

This product has not yet been rated.

Have you tested this product? Share your opinion with the digitec community.

(0)
Rate product
Secret Labs LLC Netduino Go Potentiometer Module Secret Labs LLC Netduino Go Potentiometer Module