Tab Content
More Activity
About alexxx

Basic Information

Optional Info
Biography:
Automatic Control Systems Engineer
Location:
Greece
Occupation:
Electronics Engineer

Statistics


Total Posts
Total Posts
1,004
Posts Per Day
0.45
General Information
Last Activity
20th May 2017 19:30
Join Date
17th April 2011
Helpful Postings
Has Rated
118
Post Rated
Rated helpful 273 out of 273 times

41 Friends

  1. 3000manXXXL  3000manXXXL is offline

    Newbie level 1

    3000manXXXL
  2. ahmed.elgamal  ahmed.elgamal is offline

    Newbie level 4

    ahmed.elgamal
  3. bigdogguru  bigdogguru is offline

    Administrator

    • Send a message via Yahoo to bigdogguru
    bigdogguru
  4. bobsun  bobsun is offline

    Full Member level 2

    bobsun
  5. Chullaa  Chullaa is offline

    Full Member level 1

    Chullaa
  6. Easyrider83  Easyrider83 is offline

    Advanced Member level 4

    • Send a message via ICQ to Easyrider83
    Easyrider83
  7. fawadbutt  fawadbutt is offline

    Member level 2

    fawadbutt
  8. fer_yana  fer_yana is offline

    Member level 1

    fer_yana
  9. fionawang  fionawang is offline

    Newbie level 1

    • Send a message via MSN to fionawang
    fionawang
  10. garuda.jsk  garuda.jsk is offline

    Newbie level 1

    garuda.jsk
Showing Friends 1 to 10 of 41
Page 1 of 5 1 2 3 ... LastLast
 

Experience


Points
Points
6,502
Level
19
Points: 6,502, Level: 19
 
Level up completed
Level up completed
22%
Points required
548

Activity


Activity
0%
Activity last 30 days
8.0%
Activity last 7 days
11.0%

Points


All Points for user
Points for User
1,859
Points for Reputation
558
Points for every day since registration
1,103
Points for Friends
123
Points for Albumpictures
75
All Points for threads
Points for threads
105
Points for Threads
26
Points for Social Group Discussions
16
Points for tagging threads
27
Points for replies
36
All Points for posts
Points for Posts
4,326
Points for Posts
2,904
Points for Social Group Messages
16
Helpful Answers
1,370
Solved Threads
36
All Points for miscellaneous
Points for Misc
210
Points for article in vBulletin Blog
30
Points for posting Calendar Event
180

Activities


3rd May 2017
03:08 alexxx has earned 6 Points for User points
03:08 alexxx has earned 3 Points for threads points
03:08 alexxx has earned 3 Points for Posts points

20th April 2017
03:09 alexxx has earned 3 Points for Posts points
03:09 alexxx has earned 2 Points for threads points
03:09 alexxx has earned 1 Points for User points

19th April 2017
03:09 alexxx has earned 8 Points for Posts points
03:09 alexxx has earned 3 Points for threads points
03:09 alexxx has earned 12 Points for User points

30th March 2017
07:09 alexxx has earned 3 Points for Posts points
07:09 alexxx has earned 1 Points for User points

28th March 2017
07:10 alexxx has earned 1 Points for User points

25th March 2017
07:08 alexxx has earned 6 Points for Posts points
07:08 alexxx has earned 1 Points for User points

24th March 2017
07:08 alexxx has earned 8 Points for Posts points
07:08 alexxx has earned 4 Points for User points
07:08 alexxx has earned 2 Points for threads points

19th March 2017
07:07 alexxx has earned 5 Points for User points
07:07 alexxx has earned 3 Points for Posts points

9th March 2017
08:08 alexxx has earned 11 Points for User points

Show Activities from all Users
View alexxx's Blog

Recent Entries

Swapping a byte's nibbles

by alexxx on 26th February 2012 at 11:52
For those compilers that do not have a built-in function for swapping a byte's nibbles, a simple user function can be created:

Code C - [expand]
1
2
3
4
unsigned char SwapNibbles (unsigned char x)
{
  return ((x >> 4) & 0x0F) | ((x << 4) & 0xF0);
}

And a couple of function call examples:

Code C - [expand]
1
2
3
unsigned char ch1, ch2;
ch1 = SwapNibbles(0xA3);  //ch1=0x3A
ch2 = SwapNibbles(ch1);   //ch2=0xA3

Read More

Categories
Uncategorized

BCD to decimal convertion and vice versa

by alexxx on 15th October 2011 at 08:54
Some compilers may have built in functions for these convertions, but others don't. Below are two functions for converting a BCD number to decimal and vice versa:

Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
#define uint8 unsigned char
 
uint8 BCDToDecimal (uint8 bcdByte)
{
  return (((bcdByte & 0xF0) >> 4) * 10) + (bcdByte & 0x0F);
}
 
uint8 DecimalToBCD (uint8 decimalByte)
{
  return (((decimalByte / 10) << 4) | (decimalByte % 10));
}

Read More

Updated 11th December 2011 at 18:46 by alexxx

Categories
Uncategorized