some pic18's have 128k flash if that's not enough get an arduino mega 2560 clone , less than $20 256k flash 8k ram 4k eprom you'll never look back I love them