-
Is there any way to set a pin high in the board definition file
not directly but I thought I already provided solution above when you asked for the first time :-)
anyway, without any code you could also make D15 into fake LED or second button and set it as inverted as that could produce initial state being high
-
Mon 2021.09.13
Hi @yngv126399
I'd post this in a new question, but can't seem to find the new post button ???
The easiest way is to find the hyperlinks at the top of this thread Home >> Other Boards >> Porting to new Devices and Right-Click on the desired destination, Open in new tab most likely in this case the same Porting to new Devices topic.
On the top Right hand side of the resulting page is the 'Post a Conversation' button.
I'd post this in a new question, but can't seem to find the new post button ???
Is there any way to set a pin high in the board definition file. The pinetime's main button (D13) will only work if D15 is pulled high. I can do this in code and it's fine, but I'd like it set up before we enter .boot code so it can trap button press early.