element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Intel
  • Products
  • Manufacturers
  • Intel
  • More
  • Cancel
Intel
Forum MRAA and I2C Display
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Intel requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Answers 2 answers
  • Subscribers 4 subscribers
  • Views 254 views
  • Users 0 members are here
  • arduino_breakout
  • gpio pinout
  • lcd_screens
  • mraa
  • i2c_conflicts
  • intel edison
Related

MRAA and I2C Display

vandia
vandia over 5 years ago

Pastebin URL: https://pastebin.com/QgCNn7eD

 

Anyhow, I'm using the SSD1306 I2C screen module. I'm programming in Python, and have it working pretty well, for the most part.hat is,

Until I try to use MRAA to read analog inputs. Suddenly, the screen will not turn on.

 

With the commented section commented, the screen turns on. Uncommented, it turns off, even though the code still runs in the terminal.

 

Has anyone else had this problem, is it documented somewhere, or is something else wrong that I'm doing, involving using both?

  • Reply
  • Cancel
  • Cancel

Top Replies

  • Workshopshed
    Workshopshed over 4 years ago +1 suggested

    There are shared pins on the Edison, is that analogue pin used for something else? Have you tried a different pin?

  • Workshopshed
    Workshopshed over 4 years ago in reply to vandia +1 suggested

    Perhaps in the hardware guide for the Edison breakout? There are ways to emulate an analogue pin with two digital pins and a timer if you need or an external A-D chip

  • vandia
    vandia over 4 years ago in reply to Workshopshed +1 verified

    So, according to: http://www.intel.com/content/dam/support/us/en/documents/edison/sb/edison-arduino-hardware-guide.pdf

     

    Don't use Analog 5/6 if you plan to use I2C, they both use the same Arduino pin.…

Element14

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

  • Facebook
  • Twitter
  • linkedin
  • YouTube