The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.2.23 (Linux)
File Line Function
/showthread.php 864 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hid
18-12-2011, 07:36 PM,
#1
hid
hello.

I want to do data acquisition and control,
using laptop and usb.
On a good day, around how many bytes per second
can my laptop read from pinguino digital i/o, or gpio?
How many byte per second can it write?
What is a good board to use.

I am using ubuntu 11.10.
Are there any gcc or g++ libraries?
Are there any exampe code like:

//reading pinguino digital i/o

//compile with gcc pinguino_read.c -opinguino_read -lpinguino

int main(void)
{

int indata;

pinguino_read_dio( indata);

printf( "dio is %x\n",indata);
return 0;

}

I am not interested in a/d, b/a I2C, SPI, or UART.
From my laptop running my c/c++ program I
want to send and read digital bytes or bigger
from a 16 bit registers on the pinguino gpio.
Writing power level to a 12 bit register, that
is not on the pinguino board, but one inch
away.
And then reading position value from a 15 bit register.

Thank for any help.

keghn@netscape.net
Reply


Messages In This Thread
hid - by keghn - 18-12-2011, 07:36 PM
RE: hid - by pingotg - 18-12-2011, 09:50 PM
RE: hid - by Alfred - 18-12-2011, 11:35 PM
RE: hid - by tochinet - 20-12-2011, 03:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)