{"id":5650,"date":"2020-09-24T09:56:11","date_gmt":"2020-09-24T09:56:11","guid":{"rendered":"https:\/\/www.beaconzone.co.uk\/blog\/?p=5650"},"modified":"2020-09-24T09:56:26","modified_gmt":"2020-09-24T09:56:26","slug":"bluetooth-le-on-tinygo","status":"publish","type":"post","link":"https:\/\/www.beaconzone.co.uk\/blog\/bluetooth-le-on-tinygo\/","title":{"rendered":"Bluetooth LE on TinyGo"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/tinygo.org\/\" target=\"_blank\">TinyGo<\/a> is a Go compiler for small devices such as microcontrollers. For example, it runs on the BBC micro:bit, Nordic (used in beacons), ESP32, Arduino Uno and Adafruit boards.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"467\" src=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/TinyGo.jpg\" alt=\"\" class=\"wp-image-5652\" srcset=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/TinyGo.jpg 830w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/TinyGo-300x169.jpg 300w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/TinyGo-768x432.jpg 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure><\/div>\n\n\n\n<p>Bluetooth LE support has recently been added to TinyGo:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"684\" height=\"452\" src=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/tinygobluetoothsupport.png\" alt=\"\" class=\"wp-image-5653\" srcset=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/tinygobluetoothsupport.png 684w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2020\/09\/tinygobluetoothsupport-300x198.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure><\/div>\n\n\n\n<p>There&#8217;s an <a rel=\"noreferrer noopener\" href=\"https:\/\/www.hackster.io\/news\/tinygo-launches-go-bluetooth-for-go-developers-looking-to-work-with-bluetooth-le-devices-004830acc9a8\" target=\"_blank\">article on hackster<\/a> and the open source <a href=\"https:\/\/github.com\/tinygo-org\/bluetooth#go-bluetooth\" target=\"_blank\" rel=\"noreferrer noopener\">repository is on GitHub<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TinyGo is a Go compiler for small devices such as microcontrollers. For example, it runs on the BBC micro:bit, Nordic (used in beacons), ESP32, Arduino Uno and Adafruit boards. Bluetooth LE support has recently been added to TinyGo: There&#8217;s an article on hackster and the open source repository is on GitHub.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,136,280],"tags":[],"_links":{"self":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/5650"}],"collection":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=5650"}],"version-history":[{"count":2,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/5650\/revisions"}],"predecessor-version":[{"id":5654,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/5650\/revisions\/5654"}],"wp:attachment":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=5650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=5650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=5650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}