Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

IronMarco

Member Since 29 Mar 2012
Offline Last Active Apr 03 2013 08:21 AM
-----

Posts I've Made

In Topic: New to this : Trouble with AnalogInput with Firmware v4.2.0.1

14 November 2012 - 12:58 PM

I have the same issue!!!

Hi,

Let me apologize in advance for what is probably a silly question or mistake on my part. I'm brand new at most of this and I'm a bit lost. I did try to do some searching on this forum in hopes of finding my own answers, but most of the topics are way beyond what I'm working on. I'm literally just trying to build the equivelant of "hello world" type stuff and already stuck.

I just recieved my Netduino and begam working through the Getting Started with NetDuino documentation. I noticed that the Netduino had an old Firmware so I went trhough the steps of flashing it and installing the newer SDKs. I built the first Blinky app with the Netduino and all was well.

I built the MakerShild and began making the Blinky app work with that (the LED and button). This worked well too.

Once I started trying to write the code to read the (analog) values from the potentiometer on the MakerShield I started getting debugger errors within MS Visual C# Express.

AnalogInput pot = new AnalogInput(Pins.GPIO_PIN_A0);
I get : "Error 1 The best overloaded method match for 'Microsoft.SPOT.Hardware.AnalogInput.AnalogInput(Microsoft.SPOT.Hardware.Cpu.AnalogChannel)' has some invalid arguments C:\Users\Jaime\documents\visual studio 2010\Projects\Blinky\Blinky\Program.cs 18 31 Blinky"


I noticed that there was a mention of "2. New core AnalogInput and PWM classes; backwards-compatible classes available via add-on assemblies". Does this mean that I need to include something more to be able to use the Pins.GPIO_PIN_A0 above?

I hacked around and was able to get the following to compile:
AnalogInput pot = new AnalogInput(AnalogChannels.ANALOG_PIN_A0)
but that doesn't seem to recieve any values from the potentiometer.

The source is attached.


Any tips would be greatly apreciated.

Thanks,

Jaime


In Topic: netduino plus firmware update fail

29 June 2012 - 01:43 PM

No news?

Hi IronMarco,

I haven't seen that issue before. Can you confirm that you're deploying a matching set of TinyBooter and TinyCLR (ER_CONFIG/ER_FLASH) files?

Chris


In Topic: netduino plus firmware update fail

06 June 2012 - 06:03 AM

Hi IronMarco,

I haven't seen that issue before. Can you confirm that you're deploying a matching set of TinyBooter and TinyCLR (ER_CONFIG/ER_FLASH) files?

Chris

Yes I have downloaded both from Forum:

Topic
http://forums.netdui...-netduino-plus/

Files for NetDuino plus
http://forums.netdui...&attach_id=1708


http://forums.netdui...?showtopic=2768

Followed the instruction here:
http://wiki.netduino...ep-by-step.ashx
http://wiki.netduino...ep-by-step.ashx

Cheers

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.