SOLVED- putDec problem
idbruce
Posts: 6,197
This does not work the way I thought it would. I keep getting 4095 to the terminal, regardless of the value assigned to nDec. What is wrong?
EDIT: Problem solved
EDIT: Problem solved
#include "simpletools.h"
int main(void)
{
int nDec;
nDec = 203;
putDec(nDec);
return 0;
}

Comments
-Mike
Come on Bruce.
The problem was that I was using the Parallax Serial Terminal, instead of the "Run with Terminal" option that is part of SimpleIDE.
-Mike