{"id":3395,"date":"2026-10-28T16:21:41","date_gmt":"2026-10-28T16:21:41","guid":{"rendered":"https:\/\/www.robertprice.co.uk\/robblog\/?p=3395"},"modified":"2026-10-28T16:21:41","modified_gmt":"2026-10-28T16:21:41","slug":"rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c","status":"publish","type":"post","link":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/","title":{"rendered":"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In my previous post, I showed <a href=\"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-2-using-a-bme280-environmental-sensor-on-a-rc2014\/\">how to read the ID register on the BME280 by bit-banging the SPI protocol using Z80 assembly language<\/a>. I want to be able to read the temperature using the BME280, but this requires the use of floating-point maths to convert the values returned from the device to a value in degrees Celsius. I think this would be a bit too complex to do using Z80 assembly language, so I plan to switch to using C instead.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have previously written about <a href=\"https:\/\/www.robertprice.co.uk\/robblog\/writing-c-code-for-the-rc2014-classic-ii-running-scm\/\">using the z88dk C compiler with an RC2014<\/a>, so I won&#8217;t fully go over this again. I will rewrite the previous assembly language code to get the ID of the BME280 device and display it on the LEDs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pragmas<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I need to set a couple of pragma&#8217;s in the C code to tell the compiler where to assemble the code and where to set the stack pointer. The assembly language program ran from address 0x9000, so I will do the same here. I will also set the stack pointer to 0xFC00.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#pragma output CRT_ORG_CODE = 0x9000\n#pragma output REGISTER_SP = 0xFC00<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Z80 IO Ports<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To use the Z80&#8217;s IO ports from C, I need to use a special function register. The C compiler z88dk uses has a special instruction called <code>__sfr __at<\/code> that declares a variable at a specific IO port. This variable can then be read from or assigned, and this maps to Z80 <code>in<\/code> and <code>out<\/code> instructions. I&#8217;m going to be using IO port 0x01 again.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#define __IO_SPI_PORT 0x01\n__sfr __at __IO_SPI_PORT io_spi;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Sending and receiving a byte of data using SPI<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Sending and receiving a byte of data takes place in parallel, so I&#8217;m going to create a C function that takes a byte as a parameter and also returns a byte.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, I need to include stdint.h to get the required data type of uint8_t. I also need to define the bit masks for MOSI, MISO, CLK, and SELECT.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;stdint.h>\n\n#define MOSI 0b00000001\n#define MISO 0b00000001\n#define CLK  0b00000010\n#define SELECT 0b00001000<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now for the actual transfer function.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Send a byte and receive a byte from the BME280 over SPI. \nuint8_t transfer(uint8_t value) {\n    uint8_t received_value = 0;\n    for (int i = 0; i &lt; 8; i++) {\n        \/\/ Set the MOSI line based on the current bit of the value to send,\n        \/\/ then det the CLK line low.\n        if (value &amp; 0x80) {\n            io_spi = 0 &amp;~SELECT &amp;~CLK | MOSI; \/\/ Set MOSI high and CLK low.\n        } else {\n            io_spi = 0 &amp;~SELECT &amp;~CLK; \/\/ Set MOSI low and CLK low.\n        }\n        \n        \/\/ Read the MISO line to get the received bit.\n        uint8_t miso = io_spi &amp; MISO; \/\/ Read MISO\n\n        \/\/ Shift the received value left and add the new bit.\n        received_value = (received_value &lt;&lt; 1) | (miso ? 1 : 0);\n        \n        \/\/ Pulse the clock line high.\n        if (value &amp; 0x80) {\n            io_spi = 0 &amp;~SELECT | CLK | MOSI; \/\/ Set MOSI high and CLK high.\n        } else {\n            io_spi = 0 &amp;~SELECT | CLK; \/\/ Set MOSI low and CLK high.\n        }\n        \n        \/\/ Prepare for the next bit by shifting the value to send left\n        value &lt;&lt;= 1;\n    }\n    return received_value;\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Reading the ID byte and displaying the result<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now I have a function that can send and receive a byte; I can request the ID byte.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, I need to make sure the device isn&#8217;t selected. Next, I need to request the ID by sending the command 0xD0, then read the returned byte. I need to send a dummy value when reading the returned byte, so I will use 0x00 in this case. Finally, I deselect the BME280 and show the values on the LEDs, as with the assembly language version.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>int main(void) {\n    io_spi = SELECT | CLK | MOSI; \/\/ Deselect the BME280\n    transfer(0xD0);               \/\/ send the address for the ID register.\n    uint8_t id = transfer(0x00);  \/\/ Read the ID register.\n    io_spi = SELECT | CLK | MOSI; \/\/ Deselect the BME280.\n\n    io_spi = id;                  \/\/ display the ID value on the output port\n    return 0;\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In my previous post, I showed how to read the ID register on the BME280 by bit-banging the SPI protocol using Z80 assembly language. I want to be able to read the temperature using the BME280, but this requires the use of floating-point maths to convert the values returned from the device to a value &hellip; <a href=\"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3387,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[157,209,187],"tags":[215,217,117,213,119],"class_list":["post-3395","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rc2014","category-rc2026","category-retrochallenge","tag-bme280","tag-c","tag-rc2014","tag-spi","tag-z80"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C - Robert Price<\/title>\n<meta name=\"description\" content=\"How to bit-bang the SPI protocol using C on an RC2014 computer to talk a BME280 sensor.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C - Robert Price\" \/>\n<meta property=\"og:description\" content=\"How to bit-bang the SPI protocol using C on an RC2014 computer to talk a BME280 sensor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/\" \/>\n<meta property=\"og:site_name\" content=\"Robert Price\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-28T16:21:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.robertprice.co.uk\/robblog\/assets\/BME280-RC2014.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"rob\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rob\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/\"},\"author\":{\"name\":\"rob\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#\\\/schema\\\/person\\\/fac6d5b076e0e14e1fb13e15b542a6c5\"},\"headline\":\"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C\",\"datePublished\":\"2026-10-28T16:21:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/\"},\"wordCount\":428,\"image\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/BME280-RC2014.jpg\",\"keywords\":[\"BME280\",\"C\",\"RC2014\",\"SPI\",\"Z80\"],\"articleSection\":[\"RC2014\",\"RC2026\",\"RetroChallenge\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/\",\"url\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/\",\"name\":\"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C - Robert Price\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/BME280-RC2014.jpg\",\"datePublished\":\"2026-10-28T16:21:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#\\\/schema\\\/person\\\/fac6d5b076e0e14e1fb13e15b542a6c5\"},\"description\":\"How to bit-bang the SPI protocol using C on an RC2014 computer to talk a BME280 sensor.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/BME280-RC2014.jpg\",\"contentUrl\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/assets\\\/BME280-RC2014.jpg\",\"width\":1600,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#website\",\"url\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/\",\"name\":\"Robert Price\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.robertprice.co.uk\\\/robblog\\\/#\\\/schema\\\/person\\\/fac6d5b076e0e14e1fb13e15b542a6c5\",\"name\":\"rob\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g\",\"caption\":\"rob\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C - Robert Price","description":"How to bit-bang the SPI protocol using C on an RC2014 computer to talk a BME280 sensor.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/","og_locale":"en_GB","og_type":"article","og_title":"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C - Robert Price","og_description":"How to bit-bang the SPI protocol using C on an RC2014 computer to talk a BME280 sensor.","og_url":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/","og_site_name":"Robert Price","article_published_time":"2026-10-28T16:21:41+00:00","og_image":[{"width":1600,"height":1200,"url":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/BME280-RC2014.jpg","type":"image\/jpeg"}],"author":"rob","twitter_card":"summary_large_image","twitter_misc":{"Written by":"rob","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#article","isPartOf":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/"},"author":{"name":"rob","@id":"https:\/\/www.robertprice.co.uk\/robblog\/#\/schema\/person\/fac6d5b076e0e14e1fb13e15b542a6c5"},"headline":"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C","datePublished":"2026-10-28T16:21:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/"},"wordCount":428,"image":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/BME280-RC2014.jpg","keywords":["BME280","C","RC2014","SPI","Z80"],"articleSection":["RC2014","RC2026","RetroChallenge"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/","url":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/","name":"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C - Robert Price","isPartOf":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#primaryimage"},"image":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/BME280-RC2014.jpg","datePublished":"2026-10-28T16:21:41+00:00","author":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/#\/schema\/person\/fac6d5b076e0e14e1fb13e15b542a6c5"},"description":"How to bit-bang the SPI protocol using C on an RC2014 computer to talk a BME280 sensor.","breadcrumb":{"@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#primaryimage","url":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/BME280-RC2014.jpg","contentUrl":"https:\/\/www.robertprice.co.uk\/robblog\/assets\/BME280-RC2014.jpg","width":1600,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/www.robertprice.co.uk\/robblog\/rc2026-part-3-using-a-bme280-environmental-sensor-on-an-rc2014-with-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.robertprice.co.uk\/robblog\/"},{"@type":"ListItem","position":2,"name":"RC2026 \u2013 Part 3 \u2013 Using a BME280 environmental sensor on an RC2014 with C"}]},{"@type":"WebSite","@id":"https:\/\/www.robertprice.co.uk\/robblog\/#website","url":"https:\/\/www.robertprice.co.uk\/robblog\/","name":"Robert Price","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.robertprice.co.uk\/robblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.robertprice.co.uk\/robblog\/#\/schema\/person\/fac6d5b076e0e14e1fb13e15b542a6c5","name":"rob","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6f0eb511179100a4e968abc70403e33686e6ab3e992e392bedd2ccac01da666c?s=96&d=mm&r=g","caption":"rob"}}]}},"_links":{"self":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts\/3395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/comments?post=3395"}],"version-history":[{"count":4,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts\/3395\/revisions"}],"predecessor-version":[{"id":3403,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/posts\/3395\/revisions\/3403"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/media\/3387"}],"wp:attachment":[{"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/media?parent=3395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/categories?post=3395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robertprice.co.uk\/robblog\/wp-json\/wp\/v2\/tags?post=3395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}