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.

kalio20

Member Since 08 Feb 2015
Offline Last Active Nov 23 2015 03:42 PM
-----

Posts I've Made

In Topic: InterruptEdgeLevelHigh

28 April 2015 - 01:47 PM

Thank you very much Eddie Garmon,

 

now one more mystery is solved! I will give it a try with your "fake" method  :)

 

Greets

 

kalio20


In Topic: InterruptEdgeLevelHigh

28 April 2015 - 12:18 PM

Hi Chris, 

 

thx for your response, but i need the first one, i need the Interrupt as long as it is high. Right know i use the "InterruptEdgeBoth" wich works indirect like the "InterruptEdgeLevelHigh", but i propably fixed it, i am not sure if it works but it will look like this:

 

DP09.ClearInterrupt();

DP09.Resistor = Port.ResistorMode.PullDown;

DP09.Interrupt = Port.InterruptMode.InterruptEdgeLevelHigh;
                            DP09.EnableInterrupt();
 
I have to clear the Interrupt if i switch the Port.Interrupt Mode to LevelHigh or LevelLow. Not sure if it works, will try it soon!
 
Greets
 
kalio.

In Topic: Multithreading

25 April 2015 - 05:09 PM

Hi Eddie Garmon,

 

yes its a state Machine, and I almost solved my Problem with Interrupts :D but i will soon have a look at ur task implementation to nugget.

Thabks for your reply!

 

Greets

 

kalio


In Topic: InterruptEdgeLevelHigh

20 April 2015 - 08:07 AM

Thx for your reply,

 

i set now: 

InterruptPort DP09 = new InterruptPort(Pins.GPIO_PIN_D9, false, Port.ResistorMode.PullDown ,Port.InterruptMode.InterruptEdgeLevelHigh);

as u said.

 

But it still throws errors and stop my programm.

Thanks in advance.

 

kalio


In Topic: Input events

19 April 2015 - 05:35 PM

DP09.Interrupt = Port.InterruptMode.InterruptEdgeHigh;


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.