where are those 9V from? the Arduino Mega doesn’t provide 9V, only 3.3 and 5V! did u connect a power supply? if so, did u also connect GND from the Mega?
yes, it’s an ‘empty’ sketch!
where are those 9V from? the Arduino Mega doesn’t provide 9V, only 3.3 and 5V! did u connect a power supply? if so, did u also connect GND from the Mega?
yes, it’s an ‘empty’ sketch!