Connecting Juce application with Arduino

How do you connect a Juce application to Arduino chip? I tried the Serial connect library but it gives me the error “No such module found” when I try to upload. Also if there is a sample working code that would do wonders. Kindly help

Thanks in advance

Is Arduino available to your host operating system as a Serial port? Try juce_serialport:

Yes, Arduino is available to my host operating system as a Serial port!
I am getting this error “This wasn’t a valid module folder” when I try to add serial_port module. Could you please specify the steps about how to resolve that?

Thanks