- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 meLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which keyboard are you trying to read from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
from the normal Keyboard of my Laptop

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page