Replies: 2 comments 1 reply
Well, since the issue was written, the schematic as evolved. You'd better look here for an updated project. |
1 reply
|
Currently, it's not possible to add conditions to aliases Not all commands return a logical false/true state. So it would be complicated to implement it globally for all commands The simplest solution in this case could be to use a specific syntax to
and then you can alias this read cmd to |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm building my device with the buffer described in this issue.
I'd like to recreate commands similar to the old bus pirate to turn the target's power on and off.
I'd like to detect whether the target is already powered by reading the status of a GPIO and, if not, set another GPIO to HIGH, which turns the target's power on, of course using PMOS and NMOS.
In practice, the alias commands should contain an
mode dio || if read GPIOX == LOW then set GPIOY H.Is it possible to do this or is it possible to implement it?
I know I can develop an external script using Python that can certainly do this easily, but I liked the idea of having it already inside the firmware.
Thanks for the suggestions.
All reactions