| ??? 06/09/00 17:29 Read: times |
#3136 - RE: A/D to LCD using 80c31 |
Steve Taylor wrote: ------------------------------- You can send data direct with XBY(XXXXX)=A ok. You need to convert the number directly and then output the data to the display by dividing the number by 10, rounding it up and then outputting it with xby(XXXX)=number+30 , and repeating until you get to the lsb(I can NEVER remember the offset value it might not be 30) STeve Hi Steve, Yes I am able to input data to a variable easily. XBY(0ff40h)=A is the command I use for that. Then I am able to convert A data to the voltage by using the formula A=(A/255)*17.5. So then I have a number with a decimal value in A now. What I am trying to figure out is how to transfer that voltage in A out to the LCD as ASCII. Do I really need to do it decimal by decimal or is there a command that will do it. I tried to do $(0)=A and that doesn't work. BAD SYNTAX error is generated. Please let me know ASAP. Thanks! |
| Topic | Author | Date |
| A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| RE: A/D to LCD using 80c31 | 01/01/70 00:00 | |
| Success!!!! | 01/01/70 00:00 | |
RE: A/D to LCD using 80c31 | 01/01/70 00:00 |



