Questions tagged [interfacing]
69 questions
1
vote
2 answers
Is it possible to make a (non jailbroken) iPhone emit i2c commands?
I want to control a string of LEDs directly from my iPhone. The LED controller chips talk the i2c serial protocol.
Can I do this with Apple-supported APIs on a non-jailbroken iPhone? Which frameworks do I need to use?

Robert Atkins
- 23,528
- 15
- 68
- 97
1
vote
2 answers
Interfacing Arduino with a Web app Ruby on Rails through wireless
I want to start a small project with my arduino. The idea is to have this communication flow:
arduino <-> wireless board <-> Wi-Fi router <-> Web Server <-> Ruby on Rails 3 <-> Smart Phone <-> Browser
I found a framework called RAD (Ruby Arduino…

Snake Sanders
- 2,641
- 2
- 31
- 42
0
votes
0 answers
F2PY: wrapping a Fortran subroutine which uses fortran modules
I have a legacy code in Fortran for creation of FDq-matrices. The code consists of a subroutine, which I would like to be able to call in Python. This subroutine itself uses Fortran modules.
Subroutine which I need to call from…

vpezlar
- 1
- 1
0
votes
0 answers
interfacing problems with TC74A5 on STM32F411VET using I2C
trying to read data from a temperature sensor TC74A5 using I2C Bus isnt working for me. 0 is being constantly shown on my 7-Segment Display.
/* Private variables ---------------------------------------------------------*/
I2C_HandleTypeDef…

Lorenzo
- 1
- 1
0
votes
0 answers
Is it possible in interfacing, IN 20H and then OUT 20H? Explain why or why not?
Is it possible in interfacing, IN 20H and then OUT 20H? Explain why or why not?
Is it possible in interfacing, IN 20H and then OUT 20H? Explain why or why not ?
0
votes
1 answer
How do I read data from a USB connected Scale and send it to a website?
So I am trying to pull a weight from a physical scale connected via USB. What I want is to click on a button on my website once an item is placed on the scale and have it read the weight and input it in a field. Shipstation.com has this…

Fernando Marturet Jr
- 29
- 2
0
votes
0 answers
Interface with a precompiled program
How do I take an already - compiled program (Console App) and communicate with it via my C++ code?
Such that "printing" into the program will be the same as a user that types what I print into the console of the program, and "reading" from it read…

Aviv Vetaro
- 363
- 5
- 12
0
votes
1 answer
Why will pyautogui not highlight and use keyboard motions within a drawing software? (and can this be fixed)
i am using pixelstudio to animate some things. I am able to automate it. However, the pyautogui keypresses and mouse drag interactions are not working. The clicks work, but the dragging to highlight and the keyboard arrow presses do not. I tested…

Slade Brooks
- 19
- 2
0
votes
0 answers
How to Interface STM32F302R8 with ADS1256 using spi communication?
I've tried interfacing the Nucleo-F302R8 and the High precision AD/DA waveshare board using SPI communication. While do so I'm unable to transmit or receive data. I've used spi3 for communication and gave a i/o for chip select pin. the spi_clk pin…
0
votes
2 answers
How does std.string.toStringz work in dlang?
https://dlang.org/library/std/string/to_stringz.html
In my understanding it could not work:
toStringz creates an array on the stack and returns its pointer. After toStringz returns, the array on the stack is discarded and the pointer becomes…

porton
- 5,214
- 11
- 47
- 95
0
votes
2 answers
Not able to set value 1 to pin as Input in MPLAB
I am using MPLAB to perform an operation on PIC kit 14f458.
Now I want to create a code to pass the different amount of voltage supply LED through the Microcontroller using a button. When button pressed the first time I should get waveform with 10%…
0
votes
0 answers
Allocatable array is already allocated when interfacing Fortran with R
I am working on interfacing some modern Fortran code with R and get the following error:
forrtl: severe (151): allocatable array is already allocated
Even though the error message is the same, I don't think the origin of this issue is not directly…

Annemarie Eckes
- 79
- 9
0
votes
0 answers
Using python class instances in python from c++ (boost)
I'm looking for a way how to create an instance of a class written in python and call it's methods from c++. If available, I'd prefer to incldue the boost python libraries. I imagine to have a class in python like
class MyPythonClass(object):
…
0
votes
1 answer
Problems connecting Scilab with php?
I try to use/call Scilab with php. I followed instruction form https://www.ibm.com/developerworks/library/os-php-scilab/os-php-scilab-pdf.pdf but I cant make it work. I tried listing 1 and what I got is Array (). do I need to save sci/sce file in…

anggor
- 79
- 1
- 10
0
votes
2 answers
Interfacing my MATLAB R2013a with Arduino
I installed the MATLAB support package for arduino in my MATLAB r2013a today.
Now I plugged on my Arduino in my usb port.
And ran the command:
>> a = arduino()
>> Error: Undefined function or variable 'arduino'.
When I get:
>> a =…

ANUPAM BISHT
- 31
- 5