I have done a fair bit of programming and if the answer is no, please say so. I am just starting out with embedded programming and have hit a wall. I can't understand why I am not getting a response from the raspberry. I have tried both the FTDI drivers and VxWorks drivers (to no avail). I have not used the Microchip USB as I thought it would not be an option (there are not enough pins to go around).
Here is a snippet of the code I have written in C that uses the vx-180. I have also tried writing the code in C++ and using oledlib and I get the same result.
#include
void Main(){
int id;
TTY *tty = TTY_Open("/dev/vx520", TTY_BLOCKING, TTY_NORMAL);
if(tty == NULL){
printf("Open failed
");
return;
}
TTY_GOTOFINALIZER = TTY_Finalize();
TTY_IO_Reset();
while(TTY_IO_Clear()){
if(!TTY_IO_WaitForNext())
return;
TTY_IO_Write(255);
printf("hello world
printf("
Related links:
コメント