odd mraa behaviour

Sahaj Sarup
New Member Posts: 21
Having a bit of an issue with mraa on up board, when I close pin 13 and 16. It sets them on. Even after i specifically set them off, which works fine before closing. And this happens randomly and keep happening for about 20-30 times and then at times it would behave fine. Pin 15 works as expected.
6:55 PM
code: paste.ubuntu.com/24872374
6:55 PM
code: paste.ubuntu.com/24872374
Comments
-
As a workaround, could you try setting the pin direction as MRAA_GPIO_IN before closing, to see if that helps?
-
yes that worked
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 186 Welcome Developers!
- 55 Unboxing & Project Sharing
- 50 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral