Pedro Paulo
    Hi guys, I'm trying to make a End Course Work (Trabalho de Conclusão de Curso as known in Brazil) about ESP32 being a "substitute" for PLCs in Universities and Education Institutes, for that I need to make a PCB that leds me to adapt the 3.3V logic level to 24V, I'm working on it but the default pin configurations in OpenPLC realy mess up the board layout.

  I'm trying to change the configurantions but without success. I tried to set QX0.0 as an Digital output that will be always on, to see if the LED would change state once i switched pins:
 
[203128%2F9458389%2Fmceclip0]
 
    To test the pin config change I did this:
[203128%2F9458390%2Fmceclip0]
 
So then I uploaded it to my ESP32, but, instead of pin 15 being ON, the pin 2 it's on actually, and I don't know why, I can garantee that the eletronic are correct. Can someone help on that?

(Sorry if I made some gross grammatical error, I don't have much practice)
Reply 0 0
thiagoralves
Pin names are based on Arduino pins. You need to check how your board pins are mapped on Arduino IDE. OpenPLC uses the same pin mapping as Arduino IDE
Reply 1 0
Reply