In short, what I'm trying to do is get a es8266 to turn on my computer when asked. It's going badly, to say the least. I'm hoping one of you guys here could help me a bit and guide me to the right direction. I've attached a screenshot of the rough idea on how the design was supposed to go, but I think I'm missing something fundamental. Then again, I'm learning all this from scratch, so... any help would be appreciated.
In case you also need my program to see any logical fallacies, here. it's zipped. The board in question is the NodeMCU esp8266 ver 0.1 on the top (probably v.1)