- Netduino Forums
- → Viewing Profile: Topics: Kåre
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.
Community Stats
- Group Members
- Active Posts 6
- Profile Views 3993
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
0
Neutral
User Tools
Friends
Kåre hasn't added any friends yet.
Topics I've Started
Using the switch
26 October 2011 - 08:11 PM
I am starting to play with the Netduino Plus, and until now, it seems to work really smooth )
But I want to use the button on the board.
The button is default a Reset button. To make it work as a switch button, to be read by the program, the /SW1_CTRL_OF_RESET output must be set to HIGH.
This should be easy, but the output is not defined pr. default.
The Pins is defines as:
public static class Pins
{
public const Cpu.Pin GPIO_NONE = -1;
public const Cpu.Pin GPIO_PIN_A0 = 59;
public const Cpu.Pin GPIO_PIN_A1 = 60;
public const Cpu.Pin GPIO_PIN_A2 = 61;
public const Cpu.Pin GPIO_PIN_A3 = 62;
public const Cpu.Pin GPIO_PIN_A4 = 10;
public const Cpu.Pin GPIO_PIN_A5 = 11;
public const Cpu.Pin GPIO_PIN_D0 = 27;
public const Cpu.Pin GPIO_PIN_D1 = 28;
public const Cpu.Pin GPIO_PIN_D10 = 54;
public const Cpu.Pin GPIO_PIN_D11 = 17;
public const Cpu.Pin GPIO_PIN_D12 = 16;
public const Cpu.Pin GPIO_PIN_D13 = 18;
public const Cpu.Pin GPIO_PIN_D2 = 0;
public const Cpu.Pin GPIO_PIN_D3 = 1;
public const Cpu.Pin GPIO_PIN_D4 = 12;
public const Cpu.Pin GPIO_PIN_D5 = 51;
public const Cpu.Pin GPIO_PIN_D6 = 52;
public const Cpu.Pin GPIO_PIN_D7 = 3;
public const Cpu.Pin GPIO_PIN_D8 = 4;
public const Cpu.Pin GPIO_PIN_D9 = 53;
public const Cpu.Pin ONBOARD_LED = 55;
public const Cpu.Pin ONBOARD_SW1 = 29;
}
I could just add the SW1_CTRL_OF_RESET which is on port PA30.
But the question is: How do I do that ???
I cannot figure out how these defines are used.
Why is ONBOARD_LED defined as 55 ? It is on port PB23.
I also tried to look at GPIO_PIN_D2 which is defined as 0.
But port D2 is not even on the device ??? It only has PA and PB.
I am really confused...
Please help!
BR
Kåre
Netduino size. Where do I find this in Visual Studio?
01 June 2011 - 05:21 AM
Hi
I'm new into .NET MF. I have many years of embedded experience and some years of C# development.
And this "inbetween", .NET Microframework, looks really interesting!
At the moment, I have read a lot, and talked to others who are starting up. But there are some questions I cannot find answers for.
I have installed the toolchain, and compiled the netduino. I do not have any hardware yet.
Some questions for now:
- Where in the Visual Studio can I see the binary size of the build sourcecode?
- In addition to the above question: Can someone tell me which binary/object files are created when building the netduino?
- Does someone have experience with minimizing the netduino port? I.e. if I don't need USB, can I remove the USB support myself?
- When building in debug configuration, will this make the binary large? I really want to debug, but if the debugger fills up my FLASH, there is no room for my application. I have tried this in other environments, but I don't know the limitations with the NETFM.
- In general (not netduino specific): Has someone experience with porting the NETMF to other platforms and processors for professional use? I now MS has their NETFM porting kit, but I have no experience with this. I have talked to some who had tried to make a port within the same mcu family, and this was no problem. But what if I want to make a port to another mcu vendor?
- Are anyone in here aware of any ports for Cortex micro ?
Thanks in advance!
If you guys can answer all these questions, I'm a happy man )
Kåre
- Netduino Forums
- → Viewing Profile: Topics: Kåre
- Privacy Policy