{"product_id":"micro-bit-iot-in-c-second-edition-paperback","title":"Micro: bit IoT In C Second Edition - Paperback","description":"\u003cp\u003eby \u003cb\u003eHarry Fairhead\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003e\u003cb\u003eAmazon Reviews Of The First Edition: \u003c\/b\u003e\u003cbr\u003e\u003ci\u003e\"If you are serious about using the micro: bit to it's fullest potential, you need this book.\"\u003cbr\u003e\"Best Micro: bit book for C developers\"\u003cbr\u003e\"This is a great book for low-level (think hardware register level) developers using BBC Micro: bit computers. I really thank the author. Harry Fairhead, for writing on this subject since it is so poorly documented.\"\u003c\/i\u003e \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cb\u003eThe BBC micro: bit\u003c\/b\u003e is capable of taking on a variety of roles including that of a powerful IoT device. In order to gain full access to its features and to external devices, however, you need to use C which delivers the speed which is crucial when you are writing programs to communicate with the outside world.\u003cp\u003eThe new V2 version of the micro: bit is fully covered in\u003cb\u003e Micro: bit IoT in C, Second Edition\u003c\/b\u003e, which now uses the highly popular \u003cb\u003eVS Code\u003c\/b\u003e for offline development. It covers how to get started the easy way by providing downloadable templates for both V1 and V2 of the micro: bit.\u003c\/p\u003e\u003cp\u003eHaving started with the traditional \"Blinky\" program, the equivalent of \"Hello World\" for hardware, we are ready to discover how to control the micro: bit's I\/O lines, exploring the basis of using the GPIO. For speed, however, we need to work directly with the raw hardware and also master memory mapping, pulse width modulation and other more sophisticated bus types. From here we can start connecting sensors using first the I2C bus, then by implementing a custom protocol for a one-wire bus, and eventually adding eight channels of 12-bit A-to-D with the SPI bus, which involves overcoming some subtle difficulties. We then look at serial connections, one of the oldest ways of connecting devices, but still very useful. The micro: bit lacks WiFi connectivity but using a low-cost device we enable a connection to the Internet via its serial port which allows it to become a server. Next we look at the micro: bit's LED display. This may only be 5x5, but it is very versatile, especially when you use pulse width modulation to vary the brightness level, something we demonstrate in a classic game, written of course in C. The book rounds out with a new chapter on the micro: bit's radio and the V2's sound capabilities.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eHarry Fairhead\u003c\/b\u003e has worked with microprocessors, and electronics in general, for many years and is an enthusiastic proponent of the IoT. He is the author of \u003ci\u003e\u003cb\u003eRaspberry Pi IoT in C\u003c\/b\u003e\u003c\/i\u003e, which has recently been republished in its second edition, updated for Raspberry Pi 4, and of \u003ci\u003e\u003cb\u003eRaspberry Pi IoT In C With Linux Drivers\u003c\/b\u003e\u003c\/i\u003e. He has also co-authored Python versions of these books - \u003ci\u003e\u003cb\u003eRaspberry Pi IoT in Python Using GPIO Zero\u003c\/b\u003e\u003c\/i\u003e and \u003ci\u003e\u003cb\u003eRaspberry Pi IoT In Python With Linux Drivers\u003c\/b\u003e\u003c\/i\u003e. His own language of choice is C and he has also written \u003ci\u003e\u003cb\u003eFundamental C: Getting Closer To The Machine\u003c\/b\u003e\u003c\/i\u003e and\u003ci\u003e\u003cb\u003e Applying C For The IoT With Linux.\u003c\/b\u003e\u003c\/i\u003e\u003c\/p\u003e\u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 268\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.56 x 9.25 x 7.5 IN\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e February 26, 2021\u003c\/div\u003e","brand":"Books by splitShops","offers":[{"title":"Default Title","offer_id":42728244019263,"sku":"9781871962673","price":56.62,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0105\/8226\/1823\/files\/65a6d3262cf764f5567e90e0b8f70bf9.webp?v=1765117777","url":"https:\/\/dhlswag.com\/products\/micro-bit-iot-in-c-second-edition-paperback","provider":"BBB","version":"1.0","type":"link"}