From ab3e209847409b5f5844cbdc9e0f5a8e3d0cdf06 Mon Sep 17 00:00:00 2001 From: brentru Date: Fri, 24 Feb 2023 16:12:02 -0500 Subject: [PATCH] render correctly --- source/includes/mqtt/_get_topic.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/includes/mqtt/_get_topic.md.erb b/source/includes/mqtt/_get_topic.md.erb index d9cdd05..76b9526 100644 --- a/source/includes/mqtt/_get_topic.md.erb +++ b/source/includes/mqtt/_get_topic.md.erb @@ -21,9 +21,9 @@ For any given Adafruit IO MQTT feed or group, subscribe to the appropriate topic For example, let's imagine we have a device that subscribes to a counter feed: `uname/f/counter`. If we want to get the latest value, the `/get` topic we should publish to is `uname/f/counter/get`. After connecting to IO, subscribing to `uname/f/counter`, and publishing ` ` to `uname/f/counter/get`, we will immediately receive a message on our `uname/f/counter` subscription with the last value that was published to `counter`. -If you’re using the Adafruit IO Arduino library, you can add `/get` support to your project in one line of code: +If you’re using the Adafruit IO Arduino library, you can add `/get` support to your project using the following code snippet: -```cpp +``` // ... from the adafruitio_01_subscribe example sketch AdafruitIO_Feed *counter = io.feed("counter");