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
-----

Topics I've Started

PWM

04 August 2015 - 04:50 PM

Is it possible to generate just 1 High Pulse? For example i am running on 100 Hz, but i need just 1 High Pulse, dat means my Generator has to run for just < 0.01 secs? But I want to avoid Methods like,

 

PWM.Start();

Thread.Sleep = (10);

PWM.Stop();

 

Thanks in advance!

 

Greets kalio!


Interface USB-Serial?

24 June 2015 - 12:28 PM

Hi netduino community,

 

now I am debuggin my netduino +2 over the USB and send data trough the serial interface. My question is, can i send the data also trough the usb? If my software is free of errors, so i dont have to correct the code anymore, i just have to send the dat trough the USB. And if this is possible, do i need the external power supply, or does the USB supply still work, if i switch the interfaces? Excuse my bad English. 

Thanks in advance!

 

 

Greets

 

kalio20!


PWM

11 June 2015 - 01:47 PM

Hi,

 

excuse my properly stupid question, but is the PWM on the Netduino +2 a Hard- or a software PWM? And where can i get these informations, i found nothing on the web.

Thanks in advance!

 

Greets

 

 

kalio20


InterruptEdgeLevelHigh

19 April 2015 - 05:41 PM

Hi,

 

if I set my Digital Input as:

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

 

it always throws errors and I dont know why, if i use Port.InterruptMode.InterruptEdgeLow instead, everything works fine, it seems it got a Problem with Port.InterruptMode.InterruptEdgeLevelHigh, or I am doin something wrong^^

 

Thanks in advance

 

 

Kalio!


Input events

19 April 2015 - 05:20 PM

Hi again,

 

is it possible to change the input event settings while code is runnin? For example if i try to set Digital Pin 9 as Input event, i need sometimes Port.InterruptMode.InterruptEdgeHigh, but sometimes i need to switch to Port.InterruptMode.InterruptEdgeLow or Port.InterruptMode.InterruptEdgeLevelHigh, i tried to fix my problem like this. 

 

InterruptPort DP09 = new InterruptPort(Pins.GPIO_PIN_D9, false, Port.ResistorMode.PullUp,                                                                                                                                              Port.InterruptMode.InterruptEdgeHigh);
DP09.OnInterrupt += new NativeEventHandler(DP09_OnInterrupt);
 
InterruptPort DP091 = new InterruptPort(Pins.GPIO_PIN_D9, false, Port.ResistorMode.PullUp, 
                                                                                                                  Port.InterruptMode.InterruptEdgeLow);
DP091.OnInterrupt += new NativeEventHandler(DP091_OnInterrupt);
 
DP09.DisableInterrupt();
DP091.DisableInterrupt();

                  

I declared for 1 Input 2 events, and activate them when needed, but ofc i throws errors. Can u help me?

Thanks in advance.

 

 

kalio


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.