Forum Discussion
2 Replies
- Altera_Forum
Honored Contributor
File->New->Project
Select Altera Nios->Nios C/C++ application. Choose hello_world and associate to your sopc file. When sys library and all the stuff has been generated you can build your application. If you say hello_led I suppose you simply want make a led blink. Then you should have a pio connected to the led: use the pio register to set/clear the proper bit in order to drive the led - Altera_Forum
Honored Contributor
Well thanks a lot. But I saw a hello_led project template just like the hello_world template in my course book. The version there is 5.1. But my nios II is 8.0. I can't find a hello_led under the Project Template. I can see hello_world there. So how can I get a hello_led under the Project Template? Should I download it somewhere?
--- Quote Start --- File->New->Project Select Altera Nios->Nios C/C++ application. Choose hello_world and associate to your sopc file. When sys library and all the stuff has been generated you can build your application. If you say hello_led I suppose you simply want make a led blink. Then you should have a pio connected to the led: use the pio register to set/clear the proper bit in order to drive the led --- Quote End ---