yes, you explained your self. look into Atmel, AVR, and PIC embedded mircroporcessors. they come in many different packages in single chips. you get your self a starter kit and write the actual code using your PC then a programmer that is connected to your serial or parallel port to place the program code in the chip. from there on the chip can boot on and operate using the Legs of the chip as you assigned them in your programming code as inputs/ouputs, ADC DAC etc.., and most of them are low enough power to run on a battery for a while. you can get them with Flash memory etc.... look at places like wwww.microchip.com wwww.atmel.com etc.. you need a starter kit!
Dani Rodríguez wrote: