JQadrad
Newbie level 3
Hey guys,
I recently bought the Actel SmartFusion A2F-EVAL-KIT to start my experience with FPGA developing. I read through the workflow tutorials and I understand how the different programs are used. Right now I want to make a simple program which reads a string in the HyperTerminal and displays the string on the OLED or echoes it in the HyperTerminal. I used the OLED-tutorial to try to understand the readchar() function, but when I display this character it doesn't show me 1 when I press a 1. I can't even get a single character, so reading a string will be the next challenge. I was thinking about filling a buffer with characters, but since I don't have the characters yet..
The second problem is that I tried to hardcopy a string in the program and search through this string character wise, but also this seems to fail.
My question to you is if you maybe can show me how this is done? Does anyone have a simple example or can you point me in the right direction on how to read characters/strings and have them in the right format?
Thanks in advance,
JJ
I recently bought the Actel SmartFusion A2F-EVAL-KIT to start my experience with FPGA developing. I read through the workflow tutorials and I understand how the different programs are used. Right now I want to make a simple program which reads a string in the HyperTerminal and displays the string on the OLED or echoes it in the HyperTerminal. I used the OLED-tutorial to try to understand the readchar() function, but when I display this character it doesn't show me 1 when I press a 1. I can't even get a single character, so reading a string will be the next challenge. I was thinking about filling a buffer with characters, but since I don't have the characters yet..
The second problem is that I tried to hardcopy a string in the program and search through this string character wise, but also this seems to fail.
My question to you is if you maybe can show me how this is done? Does anyone have a simple example or can you point me in the right direction on how to read characters/strings and have them in the right format?
Thanks in advance,
JJ