/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
int main()
{
unsigned char off = 178;
signed short hpos;
int i;
for ( i = 0; i < 6; ++i )
{
hpos = 180-off;
printf("off: %d, hpos: %d\n", (int)off, (int)hpos );
off++;
}
return 0;
}