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,000
Posts Per Day
0.46
General Information
Last Activity
Yesterday 18:25
Join Date
17th April 2011
Helpful Postings
Has Rated
115
Post Rated
Rated helpful 272 out of 272 times

41 Friends

  1. 3000manXXXL  3000manXXXL is offline

    Newbie level 1

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

    Newbie level 4

    • Send a message via Skype™ to ahmed.elgamal
    ahmed.elgamal
  3. bigdogguru  bigdogguru is offline

    Administrator

    • Send a message via Yahoo to bigdogguru
    • Send a message via Skype™ 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
    • Send a message via Skype™ 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
    • Send a message via Skype™ 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,457
Level
19
Points: 6,457, Level: 19
 
Level up completed
Level up completed
16%
Points required
593

Activity


Activity
29.0%
Activity last 30 days
9.0%
Activity last 7 days
6.0%

Points


All Points for user
Points for User
1,839
Points for Reputation
556
Points for every day since registration
1,085
Points for Friends
123
Points for Albumpictures
75
All Points for threads
Points for threads
97
Points for Threads
24
Points for Social Group Discussions
16
Points for tagging threads
22
Points for replies
35
All Points for posts
Points for Posts
4,309
Points for Posts
2,892
Points for Social Group Messages
16
Helpful Answers
1,365
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


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
07:08 alexxx has earned 11 Points for User points

14th February 2017
07:08 alexxx has earned 7 Points for User points

31st January 2017
07:08 alexxx has earned 3 Points for User points
07:08 alexxx has earned 3 Points for Posts points

25th January 2017
07:09 alexxx has earned 8 Points for Posts points
07:09 alexxx has earned 6 Points for User points
07:09 alexxx has earned 1 Points for threads points

18th January 2017
07:10 alexxx has earned 3 Points for Posts points
07:10 alexxx has earned 1 Points for threads points
07:10 alexxx has earned 1 Points for User points

16th January 2017
07:09 alexxx has earned 3 Points for Posts points
07:09 alexxx has earned 26 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 10: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 17:46 by alexxx

Categories
Uncategorized