Micro: bit IoT In C Second Edition
Harry Fairhead
Sold by THE SAINT BOOKSTORE, Southport, United Kingdom
AbeBooks Seller since 14 June 2006
New - Soft cover
Condition: New
Ships from United Kingdom to U.S.A.
Quantity: Over 20 available
Add to basketSold by THE SAINT BOOKSTORE, Southport, United Kingdom
AbeBooks Seller since 14 June 2006
Condition: New
Quantity: Over 20 available
Add to basketThis item is printed on demand. New copy - Usually dispatched within 5-9 working days.
Seller Inventory # C9781871962673
Amazon Reviews Of The First Edition:
"If you are serious about using the micro:bit to it's fullest potential, you need this book."
"Best Micro:bit book for C developers"
"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."
The BBC micro:bit 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.
The new V2 version of the micro:bit is fully covered in Micro:bit IoT in C, Second Edition, which now uses the highly popular VS Code 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.
Having 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.
Harry Fairhead has worked with microprocessors, and electronics in general, for many years and is an enthusiastic proponent of the IoT. He is the author of Raspberry Pi IoT in C, which has recently been republished in its second edition, updated for Raspberry Pi 4, and of Raspberry Pi IoT In C With Linux Drivers. He has also co-authored Python versions of these books - Raspberry Pi IoT in Python Using GPIO Zero and Raspberry Pi IoT In Python With Linux Drivers. His own language of choice is C and he has also written Fundamental C: Getting Closer To The Machine and Applying C For The IoT With Linux.
"About this title" may belong to another edition of this title.
Please order through the Abebooks checkout. We only take orders through Abebooks - We don't take direct orders by email or phone.
Refunds or Returns: A full refund of the purchase price will be given if returned within 30 days in undamaged condition.
As a seller on abebooks we adhere to the terms explained at http://www.abebooks.co.uk/docs/HelpCentral/buyerIndex.shtml - if you require further assistance please email us at orders@thesaintbookstore.co.uk
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to THE SAINT BOOKSTORE, Southport, United Kingdom, without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
Most orders usually ship within 1-3 business days, but some can take up to 7 days.
| Order quantity | 7 to 28 business days | 7 to 28 business days |
|---|---|---|
| First item | £ 12.66 | £ 14.66 |
Delivery times are set by sellers and vary by carrier and location. Orders passing through Customs may face delays and buyers are responsible for any associated duties or fees. Sellers may contact you regarding additional charges to cover any increased costs to ship your items.