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.

sfugarino

Member Since 13 Feb 2014
Offline Last Active Apr 24 2014 03:07 PM
-----

Posts I've Made

In Topic: Timer Interrupts

22 March 2014 - 08:04 AM

I found some code for the Cerberous boards that, I guess, uses custom firmware. Would tiis code work for Netduino? Also how about adding a HAL in the future that would give similar access to the controller's register. Arduino has this, chipKit does, and apparently GHI does or can. See the attached file.

In Topic: Help on I2C

21 March 2014 - 06:05 AM

Try using the I2CBus class. It abstracts away most of the work of talking to an I2C device:

http://wiki.netduino....ashx?HL=i2cbus

At the top of your main toggle the SDA output

OutputPort op = new OutputPort(Pins.GPIO_PIN_SDA, false);
op.Write(true);
Thread.Sleep(200);
op.Write(false);

In Topic: Dependency Injection

19 March 2014 - 11:12 PM

Been reading a lot of Arduino code and I really don't understand how people maintain their code. Global variables all over the place. Code that references variable in a several different file. Even most of the C++ code is just C code presented as C++. No encapsulation, no inheritance, just ugly ass code. One thing you can say about C# is that it is usually readable.

In Topic: Compatible Shields and Accessories

19 March 2014 - 01:15 PM

Does the Adafruit Ultimate GPS Logger Shield work with netduino? Not the older one, this one:

http://www.adafruit.com/products/1272

In Topic: I2C works under the debugger, but not standalone?

19 March 2014 - 01:05 PM

I've got an Adafruit 9DOF IMU that has a LSM303DLHC running on Netduino. It's been running for 10 -12 hrs straight without a hiccup. Also have a BMP180 barometer running on the same I2C bus. The trick is to toggle the SDA line when you start your program.

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.