From 2e048f8767a0cfd504f35b6a391b331cd58d2311 Mon Sep 17 00:00:00 2001 From: d4v3l3cc Date: Sun, 21 Apr 2024 15:15:55 +0200 Subject: [PATCH] Update Master.ino example Update of the constructor and of the #include according to the most recent changes. --- examples/Master/Master.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/Master/Master.ino b/examples/Master/Master.ino index 9a08eb1..45d5d73 100644 --- a/examples/Master/Master.ino +++ b/examples/Master/Master.ino @@ -12,10 +12,10 @@ */ // Include LIN Stack library -#include +#include -lin_stack LIN2(2); // Creating LIN Stack objects, 2 - second channel -//lin_stack LIN1(1); // Creating LIN Stack objects, 1 - first channel +LINBus_stack LIN2(Serial, 19200); // Creating LIN Stack objects, 2 - second channel +//LINBus_stack LIN1(Serial, 19200); // Creating LIN Stack objects, 1 - first channel void setup() { // Nothing to do here.