Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 39848

A device driver is a specialized software component (usually considered "system software") which allows a system to interact with a particular type or class of hardware device, such as a keyboard, serial port, disk drive, video display, memory controller, or other peripheral.

0 votes

Microgrid device driver controlling GSM modem, LCD, keypad, and relays

In addition to the comments already made regarding code formatting and the avoidance of global variables, (hint: if there must be globals organize them into structures) here are a few more things that …
Edward's user avatar
  • 66.6k
3 votes

Sending instructions to an LCD display controlled by HD44780

I see a number of things that may help you improve your code. Don't put definitions in header files There are declarations, such void LCD_spi_out(char data); and there are definitions which would be …
Edward's user avatar
  • 66.6k
5 votes

Door-opener program

There are definitely some things you can do to make this code more clear. Eliminate global variables where practical Having routines dependent on global variables makes it that much more difficult t …
Edward's user avatar
  • 66.6k