Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

nios II webserver

Altera_Forum
Honored Contributor II
1,043 Views

Hi,  

 

I am busy with the Nios II cyclone 2C35 development board and I have managed to get the webserver example working on the development board.  

 

I am trying to create my own tasks for the webserver application, but I am a bit new to microC-OS/II. So I was wondering if there is someone who can help me out or send me in the right direction.  

 

The example webserver has two commands on the HTML example page. Those are the LEDs and Seven seg. With the LEDs command the webserver will shift an outpit bit on the LEDs (D0-D7) on the development board, making them go on like a "knight rider".  

 

Instead of sending a knightrider command to the LEDS (D0-D7), I want to control each LED manually, so that I can turn each LED on or off by selecting them on the HTML page. I already know how to create this in the HTML file and I know that it is using post funcs to communicate with the .C files, but what do I have to change in the other example files? 

 

So just a quick summary: I want to be able to send output bits to each LED on the development board. eg I can select on the HTML website that D0,D3 and D4 will be on and D1,D2 and D5 will be off. please help me out 

 

regards, 

 

:D
0 Kudos
0 Replies
Reply