Upgrading from ATMEGA328P
I'm making a small prototype for which I need two microcontroller. In the past I've worked with just an ATMEGA328P where I bootloaded the chip and then uploaded a program from Arduino, but from my understanding this chip is now obsolete and there are cheaper and better MC. What are these microcontrollers? I would prefer not to change IDE and stay with the Arduino IDE. The two microcontrollers I need are for relatively simple quests, one just needs to send a precise wave whenever I click a button and the other needs to make a 1602 LCD with I2C work. For the first one I would prefer an 8pin MC, for the second one since I also have some buttons and inputs I would need at least 4 I/O + SCL & SCA for the I2C. For the 8 pin MC I've tried atTiny13A but after buying it I read that it doesn't have timers so you can use delay(some time) that I need to make an alternating wave.