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

Keypad Matrix - Strange Result


  • Please log in to reply
2 replies to this topic

#1 ilovetofu

ilovetofu

    New Member

  • Members
  • Pip
  • 1 posts

Posted 01 October 2015 - 09:50 AM

I have wired up my matrix keypad correctly, but I get strange results.

 

On my Arduino Uno it works fine, but when porting to the Netduino it is all out by 1.

 

Key Pressed vs KeyRecognised

 

1 - 0

2 - 1

3 - 2

4 - 3

5 - 4

6 - 5

7 - 6

8 - 7

9 - 8

* - 9

0 - 10

# - 11

 

I can't show the code because for some reason this page wont let me PASTE ANYTHING! :(

 



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 06 October 2015 - 03:09 AM

Hey ilovetofu,

Can you share more details about your setup?

How does it differ from other Netduino-based keypad projects, electronically? [As a basis...to help understand what you are experiencing...]

BTW, welcome to the Netduino community!

Chris

#3 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 06 October 2015 - 06:26 AM

I can't show the code because for some reason this page wont let me PASTE ANYTHING!

 

Use the editor which is presented when you hit More Reply Options button.  I think someone else reported this a while ago.  I know it works because I pasted your quote into this message.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter





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.