I have two files in Arduino IDE. One is the .ino file and one is a .c file.
main.ino:
#include "somefile.c"
void setup(){
Serial.begin(9600);
// Do something
}
void loop(){
// Do something
}
And in somefile.c I want to call Serial.print(). How can I do that? Thanks!