Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Input from keyboard in loop

Altera_Forum
Honored Contributor II
1,122 Views

Hi, 

I have a problem.My PWM is working fine.But now I will change the the time of the pwm fpr example from 30% to 50% t_on. 

 

So I must leave the loop or update the loop. 

I found the kbhit function but it´s not working.It is not part of the default library. So have somebody a idea how i can solve the problem or include the kbhit function. 

 

Sure I can read the keyboard but I don´t want to stop in the loop and wait of an keyboard entry. 

Only when I hit a button oder something like that i will interrupt the loop. 

 

I use a DE0-Nano board. 

 

I hope someone can help me
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
88 Views

Which keyboard are you trying to read from?

Altera_Forum
Honored Contributor II
88 Views

from the normal Keyboard of my Laptop

Reply