Arduino Dock 2, Serial.print() won't work. Complete novice, please help!



  • I'd really appreciate some help. I'm trying to use an arduino gyroscope for my omega project using the arduino dock 2, I set it all up right as far as I know but in this source code that uses Serial.print, there's nothing to be seen on the arduino serial output console. All lights are on and everything should be working. In my code, the stuff inside the "ifdef" namespaces is defined, it should work... If anyone knows what's wrong, please help.1_1511750933465_Screen Shot 2017-11-26 at 9.35.51 PM.png 0_1511750933465_Screen Shot 2017-11-26 at 9.35.32 PM.png



  • @Uzair-Shafiq
    You should install screen
    opkg update
    opkg install screen

    Connect to Omega with ssh and run screen:
    screen /dev/ttyS1 9600
    Now you should see the output of those Serial.print on this Arduino IDE Serial Monitor like "screen".

    To kill this screen session, type Ctrl-a then k.

    See also: Onion Omega2 Documentation Communicating with Serial Devices
    Using the screen Command

    Good luck!



Looks like your connection to Community was lost, please wait while we try to reconnect.