Linux/Arduino communication

Discussion in 'General Programming Discussion' started by foxkid, Feb 1, 2014.

  1. foxkid

    foxkid New Member

    Joined:
    Oct 27, 2013
    Messages:
    10
    Likes Received:
    0
    Are there any problem reports related to serial communication between Linux and the Arduino? I seem to be having inconsistent results when simultaneously sending and receiving over the link.

    In the alternative, I see that there is a USB link available, but that it is used for Android but not generally for Linux. Is there a Linux sample code for USB communication between the Linux side and the Arduino side?

    -- Carl
     
  2. francescomm

    francescomm Member

    Joined:
    Dec 14, 2013
    Messages:
    80
    Likes Received:
    4
    I have used some arduino c + PHP code here:

    viewtopic.php?f=8&t=650

    The PHP code is file based (fopen,fread,fwrite, etc..) communication, so easily translatable line by line to C.
     

Share This Page