I am using intel edison i dono how to enable or list or view the pin of arduino board pins and i have to communicate via serial port and rx and tx transmission will be happen please help me with this problem
Thank you for contacting us.
I understand that you want to know how to enable the pins on the Arduino expansion board and that your goal is to communicate over serial, am I correct?
One way to set and configure the pins on the Arduino expansion board is with the Arduino IDE. You can upload sketches and declare specific pins as inputs, outputs and perform functions such as reading and writing to the pin.
If you're interested in the Arduino IDE, see: https://software.intel.com/en-us/get-started-arduino .
In regards to serial communication, I'd suggest you to take a look at both these links to get started:
The first one is the guide on how to set up a serial terminal with Windows and the second one has an example of how to use the Serial port along with a test code.
Let us know if you found this useful. We'll be waiting for your response.
you are correct but i need to set and configure the pins on the Arduino expansion board is with the Arduino IDE. You can upload sketches and declare specific pins as inputs, outputs and perform functions such as reading and writing to the pin.
how is the process made how to assign it
and i am using ubilinux can you provide information for both yocto and ubilinux
Thanks in advance
You can use the functions I previously mentioned in the Arduino IDE. Some of the functions and their descriptions are:
pinMode(ledPin, OUTPUT); // sets ledPin as output
pinMode(inPin, INPUT); // sets ledPin as input
digitalRead(inPin); // reads the value from inPin, either HIGH or LOW.
digitalWrite(ledPin, val); // write a HIGH or a LOW value to a digital pin.
Besides these, there are many more functions you can use to develop your code. To see more information about the resources you can use, look at: https://www.arduino.cc/en/Reference/HomePage .
Another good option is to look at the examples that come included in the IDE. The examples will give you a very good idea on how the functions are used to create a sketch.
The Arduino IDE can be downloaded from here: https://software.intel.com/en-us/get-started-arduino-install .
In order to use the Arduino IDE, you must have the Edison flashed with the Yocto image. You can use the setup tool to flash the latest firmware to your board. You can download the Setup Tool here: https://software.intel.com/en-us/get-started-edison-windows-step2 . Follow the instructions and let us know your results.
It's important to highlight that the explanation above applies to the Yocto image. The Ubilinux image is not supported in this community since it was developed by a third party company called Emutex. If you're looking for more information about Ubilinux, its features and capabilities, you can contact them here: https://emutex.com/about-us/contact-us.
We were wondering if you still need assistance with this case. Please let us know if there's anything else we can help you with.