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
994
Posts Per Day
0.47
General Information
Last Activity
Today 07:09
Join Date
17th April 2011
Helpful Postings
Has Rated
115
Post Rated
Rated helpful 271 out of 271 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,388
Level
19
Points: 6,388, Level: 19
 
Level up completed
Level up completed
6%
Points required
662

Activity


Activity
6.0%
Activity last 30 days
1.0%
Activity last 7 days
2.0%

Points


All Points for user
Points for User
1,801
Points for Reputation
552
Points for every day since registration
1,051
Points for Friends
123
Points for Albumpictures
75
All Points for threads
Points for threads
94
Points for Threads
24
Points for Social Group Discussions
16
Points for tagging threads
19
Points for replies
35
All Points for posts
Points for Posts
4,281
Points for Posts
2,874
Points for Social Group Messages
16
Helpful Answers
1,355
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


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

16th January 2017
08:09 alexxx has earned 3 Points for Posts points
08:09 alexxx has earned 26 Points for User points

25th November 2016
08:08 alexxx has earned 8 Points for Posts points
08:08 alexxx has earned 5 Points for User points

18th November 2016
08:08 alexxx has earned 3 Points for Posts points
08:08 alexxx has earned 2 Points for User points

15th November 2016
08:08 alexxx has earned 6 Points for Posts points
08:08 alexxx has earned 2 Points for User points
08:08 alexxx has earned 1 Points for threads points

10th November 2016
08:08 alexxx has earned 3 Points for Posts points
08:08 alexxx has earned 1 Points for User points

9th November 2016
08:08 alexxx has earned 3 Points for Posts points
08:08 alexxx has earned 1 Points for threads points

8th November 2016
08:09 alexxx has earned 5 Points for User points
08:09 alexxx has earned 11 Points for Posts points

3rd November 2016
08:08 alexxx has earned 6 Points for Posts points
08:08 alexxx has earned 3 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 09: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