Piezo buzzer on D12 issue - Netduino Plus 2 (and Netduino Plus 1) - Netduino Forums
   
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.
Photo

Piezo buzzer on D12 issue

Speaker Piezo

Best Answer Chris Walker, 30 March 2013 - 07:01 PM

Hi Giuliano,

Pin D11 is PWM/MOSI. Pin D12 is MISO. Pin D13 is SPCK.
http://www.netduino....plus2/specs.htm

If you switch your PWM to pin D11, you should be good to go :)

Chris Go to the full post


  • Please log in to reply
2 replies to this topic

#1 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 30 March 2013 - 05:37 PM

Good day everyone,

 

I am having an issue I can't explain why is crashing the N+2 hard, meaning that after running the code attached you will have to reflash it.

 

It is my understanding that the D12 pin in the N+2 is a PWN/MOSI, MISO/SPCK, so why the code attached doesn't work in D12 but it works in a regular PWN pin like D9? Do I need to explicit say somewhere else that the port has to be used as PWN?

Attached Files



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 30 March 2013 - 07:01 PM   Best Answer

Hi Giuliano,

Pin D11 is PWM/MOSI. Pin D12 is MISO. Pin D13 is SPCK.
http://www.netduino....plus2/specs.htm

If you switch your PWM to pin D11, you should be good to go :)

Chris

#3 Giuliano

Giuliano

    Advanced Member

  • Members
  • PipPipPip
  • 361 posts
  • LocationSimi Valley, CA

Posted 30 March 2013 - 08:00 PM

Duh, I need to learn how to read specs :)

 

Thanks Chris!!!







Also tagged with one or more of these keywords: Speaker, Piezo

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.