element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Chipkit PI pin 8 and 9 not working?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 2 replies
  • Subscribers 682 subscribers
  • Views 604 views
  • Users 0 members are here
  • pin 8
  • raspberry_pi
  • chipkit_pi
  • raspeberry_pi_accessories
  • arduino
  • pin 9
Related

Chipkit PI pin 8 and 9 not working?

Former Member
Former Member over 9 years ago

So I am trying to blink a couple of leds on pins 8 and 9, and not getting anything to work.

I've tried different pins, and the leds work, so I know it's not the leds.  I also tried different leds on pin 8 and 9 and nothing.

 

here is a snip of the code:

 

void setup() {

     pinMode(8, OUTPUT);

     pinMode(9, OUTPUT);

}

 

void loop() {

     digitalWrite(8, HIGH);

     delay(1000);

     digitalWrite(8, LOW);

     delay(1000);

     digitalWrite(9, HIGH);

     delay(1000);

     digitalWrite(9, LOW);

     delay(1000);

}

 

I'm not sure, but wondering if  a jumper needs to be set, I've search the net, and couldn't find an answer.  I did try to change the pin numbers to the PIC numbers and not the arduino numbers, still nothing.

 

Any one got any ideas what to try?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Looking at the pin relationships in the quick start guide, pins 8 & 9 are used for d+/d- (which are usually symbollic for usb data lines) so either they are reserved just for that function or you would have to find some way to alter the pin functions before you can use them as gpio pins. Im not familiar with the language or command set the chipkit pi uses so with going further into the documentation, this is all the help I can give right now but i hope it sheds some light on your issues and sets you on a path to resolve them. I used to do a lot of work with PIC's and in most cases it should be possible to change their function.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to Former Member

    Thank you,

    There are 2 jumpers marked D+ and D- on the board, I moved the jumpers and Pin 8 and 9 both work, I've been looking for a document that tells what all the jumpers do, but so far I have just found the quick start guides.  But I'll keep looking, I'm sure the information is somewhere on the net.

     

    Thanks again.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube