this is so cool! I tried the procedure and used the code provided, but when I plug in the arduino and restart it, I don't get anything on the serial monitor. is anyone else having the same issue?
@15:28, the order of bits... it is called big-endian. multi-byte numbers may have endian-ness. In little-endian, you keep the natural bit order as it is. If it uses the big-endian scheme, you have to re-order the bits. Separate/break the bits into 8-bit chunks (if you use the hex digit format, then into 2-hex-digit chunks), and then reverse the order. So, 4A53FF3C ==> 4A 53 FF 3C ==> 3C FF 53 4A; and 90DC4200 ==> 0042DC90 = 42DC90; and so on.
thks for very detail explaination. But i think one should change that the header file isn't always 54. We have two types of headers, one is bitmap file header, another is DIB header. Normally, bitmap file header is always 14 bytes. You can see totally offset to pixel data is line "36 00 00 00", it means exactly 54 bytes for header. and the next line "28 00 00 00", it means DIB header is 40 bytes. Total header = offset to pixel data = bitmap file header + DIB header = 14 + 40 =54. My comment is just help someone confuse where you did get the number "54". But anyway, your explaination is very helpful. thanks a lot.
...sxema etoi sviazi ocen prostaja ,nadioznaja I budet rabotat,kogda nebudet elektricestva-ot batareiki,bolsoi nedostatok tolko v tom,sto net podaci vizova,znacit,o sostojasceisia sviazi nado zaranee dogovoritsia,dapustim podnimaem trubki rovno v 20 cas.vecera,i....rasgovarivaem...pocti vse v liniju vkliuciajut rezistori,zacem oni,stobi bilo xuze slisno ?...
من نزدیک به چهارده سال پیش در ای ایران این لپتاپ خریدم ده سال بود استفاده نمیکردم به تازگی آن را روشن کردم ویندوز 7 نصب کردم خیلی خوب کار میکند فکر میکنم رم 4 و هارد ssd روش سوار کنم بهترم میشود ولی نمیدنم ويندوز 10 با این cpuجواب میدهد
Thanks cool, thanks for that. The only comment I have is can’t you just take the 9th bit to set an upper byte to 0xFF if it’s set and 0x00 if it’s not? Then you have a 16 bit signed int that you can sum up without changing the sign as it’s already negative or positive?
I'm trying this for my actuator to stopping and allowing a ball from dropping on tennis ball launcher machine. I need it to stay forced forward for a few seconds then release quickly and then back to locking, but am thinking applying 12v for too long will just burn out the coil. Perhaps I can put a resistor, right?
muy interesante y si solo quieres leer el archivo bmp e imprimirlo en pantalla de preferencia en 256 colores gracias, sera que puedes ayudarme con un codigo simple