-
Notifications
You must be signed in to change notification settings - Fork 0
Help Wiring
alvaoze edited this page Jun 27, 2024
·
1 revision
This function allows turning on the LED of the Hardsploit pin corresponding to the interface entered as a parameter.
Usage:
HardsploitAPI().signal_helping_wiring(signal_number_or_name)
Module | Signals name |
---|---|
SPI | CS | SPI_CLK | MOSI | MISO |
I2C | I2C_CLK | SDA | MOSI | MISO |
UART | TX | RX |
SWD | SWD_CLK | SWD_IO |
HardsploitAPI().signal_helping_wiring("A0")
HardsploitAPI().signal_helping_wiring("A1")
HardsploitAPI().signal_helping_wiring("A2")
...
HardsploitAPI().signal_helping_wiring("A31")
HardsploitAPI().signal_helping_wiring("D0")
HardsploitAPI().signal_helping_wiring("D1")
...
HardsploitAPI().signal_helping_wiring("D15")
HardsploitAPI().signal_helping_wiring("RX")
HardsploitAPI().signal_helping_wiring("MOSI")
...
This function allows turning on/off LEDs on the Hardsploit pin.
Usage:
set_wiring_leds(PortH PortG PortF PortE PortD Portc PortB PortA)
HardsploitAPI().set_wiring_leds(0xFF00FFFFFF00FFFF)
All LEDs on each port are:
Port | Leds |
---|---|
A | ON |
B | ON |
C | OFF |
D | ON |
E | ON |
F | ON |
G | OFF |
H | ON |