Author Options:

how do I use TV out library with another set of code as to show specific video on a Composite cable? Answered

I need to be able to run my code but have it run with Commodore 64 BASIC. Hear me out here, I need the following to be uploaded to my arduino Uno at the same time. Basically two tabs of code and a library at once.


^TV Out Library^


^Arduino 6502 emulator (C64)^



Best Answer 4 years ago

Got to the menu "Include Library"...
Same for the other sketch, you can have as many as you like and in the main sketch you use the include command to get them together.
If in doubt check the Marlin firmware for 3D printers, there are tons of libraries called and sketches combined.

For example the main sketch uses

#include "Configuration.h"
#include "pins.h"

to include two other ones right at the beginning - in this case Configuration.h and pins.h.
More detaied info can be found on the Arduino pages.