I finally fixed the code, it is working now! thanks anyway
Fara76
Posts
-
Binary conversion , Help please!! -
Binary conversion , Help please!!Thanks a lot, but would you explain the code please? i get 8329 for the value of 137? i don't understand why? and i also can you please explain how to change the final answer to bytes so i will have 100000001 00001001 in bytes ? Thanks
-
Binary conversion , Help please!!I need to convert any integer value greate than 127 to binary value using this example: Represent the value in binary (e.g 137 => 1000 1001) 2) Break in up in groups of 7 bits from the lowest significant bit. (1 | 000 1001) 3) Take the lowest 7 bits and that gives you the lowest byte (0000 1001) 4) For the next group of 7 bits (in the example, this is 000 0001), set the MSB to 1 (which gives 1000 0001 in our example). Thus 137 becomes: 1000 0001 0000 1001 can anyone help me do this code using | & operators shif to left operators Thanks
-
creating a Wireless bitmap fileWireless bitmap (WBMP) is the de facto WAP image format. WBMP images are monochrome (black & white) so that the image size is kept to a minimum.
-
creating a Wireless bitmap fileHow can I create a wireless bitmap file, having the following information using C# Width = 8 Height = 8 Data = 0x00, 0xbd, 0xdb, 0xe7, 0xe7, 0xdb, 0xbd, 0x00 Thanks