NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Support Forum » lcd.c / void lcd_write_int16(int16_t in) ???
March 07, 2011 by caballeroroberto |
Hi, I was wondering what the function "void lcd_write_int16(int16_t in)" does exactly. I am confused about the "while (pow>=1)" part and on? |
---|---|
March 08, 2011 by bretm |
It converts a 16-bit signed integer into decimal characters and sends them to the display. In other words it displays a number. I don't have the code in front of me to see what "pow" does but it probably starts at 10000 and goes to 1000, 100, 10, and then 1 as it determines each digit. |
March 09, 2011 by caballeroroberto |
thank you |
Please log in to post a reply.
Did you know that essentially all power supplies' voltages drop when current is drawn from them? Learn more...
|