2010-12-27 05:08 AM
hello,
I have a problem with the point number.
for exemple:
0.9383
0.7445
0.6478
0.5906.
How to leave his number in the GPIO.
2010-12-27 05:48 AM
''I have a problem with the point number''
I think you mean, floating-point number?''How to leave his number in the GPIO''
Sorry, I don't understand what you mean by that - please explain?2010-12-27 07:43 AM
I'll make the connection between the STM8 and another device with controllable
point number between 0 and 1.
I'll save a matrix that contains these numbers and each event
will have one number that will come out.
For example:
if (condition1)
{
GPIOx = 0.2654;
}
Sorry ,
I'm not good in English
2010-12-27 10:02 AM
GPIOx represents a single 8-bit port - how do you plan to represent your ''point number'' on a single 8-bit port?
2010-12-27 02:02 PM
forgiveness
I mean is that it 's one way to represent a floating point number with STM8S.