Before Using Please Refer To LICENSE
Use the original Cisco Packet Tracer Program From Cisco
You can find a go-through video step-by-step on my youtube channel in here
Programe Screenshot
The used python script
Inside MCU | main.py
from gpio import *
from time import *
def inputHandler():
#Convert the range
value = (((analogRead(A0) - 0 ) * (100 - -100)) / (1023 - 0)) + -100
customWrite(0,value)
#setup the callback event to handle the value at A0 slot
def main():
add_event_detect(A0, inputHandler)
while True:
delay(1)
if __name__ == "__main__":
main()
