Learn to code with Processing :
• The Nature of code, by Daniel Schiffman
• Form+Code, by Chandler McWilliams et al.
• Generative Gestaltung, by Benedikt Gross et al.
Learn about Physical Computing :
• Sensing, Actuating on and Interacting with the Physical World, by Tom Igoe et al.
• Learning the Arduino, by Limor Fried et al.
• Learning how to use the Raspberry Pi, by Eben Upton et al.