the serial monitor baudrate is set to 115200baud the first line is boot information output at 74880baud (hence appears as garbage) the 0's are the program output at 115200baud
what Tools>Board have you selected? I use Generic ESP8266 Module
the program output in post 1 looks as though the serial monitor baudrate is set to 74880 and you are displaying the boot information