I am trying to implement capacitative touch buttons in my project. I initially thought of going with the CAP1206/MTCH106 with a ATmega808, which will let me use the Arduino ecosystem using the MegaCoreX package.
But now, I came across the megaTinyCore package that extends Arduino package to the ATTiny series. The ATTiny817 comes with PTC which with the help of Atmel's Qtouch library enables support for Touch inputs without any external hardware. It is possible to just use the ATTiny817 without the Arduino ecosystem, but I will interfacing it with a 4 Digit 7 seg LED, to keep the pin counts low I will using a TM1637 IC. The Arduino ecosystem has a library for the TM1637.
So I am left with two options:
1) Use the ATTiny817 standalone and do the hardwork of intefacing the TM1637 myself
2) Use the Arduino ecosystem which provides a library for TM1637. Arduino also has few libraries for touch sense but I don't know if they are as good as the Atmel's.
Can I use the program on Atmel studio using both the Arduino libraries and the Atmel's at the for the same chip?