Neural Network Arduino

I really have no clue what either of you are talking about.

What is supposed to be connected to pins 7 and 8? What does multiplying p1 by 1 accomplish? Why is it necessary to add -3. Why not just subtract 3?

this is a simple two-input perceptron from here you develop RNA complete luck

Say what?