Permalink
Browse files

Update example/example.pde

  • Loading branch information...
1 parent 94229fe commit 843c79483f385696be7fa9f002bd7184e94afeab @thewknd committed Dec 7, 2011
Showing with 3 additions and 5 deletions.
  1. +3 −5 example/example.pde
View
@@ -15,23 +15,21 @@ TOB1: 26.7539062500 C
*/
-#include "kellerbus.h"
+#include <kellerbus.h>
CKellerBus kbus(&Serial1,9600,2);
void setup() {
Serial.begin(115200);
- if(kbus.initDevice(250) != COMM_OK) {
- Serial.println("COMM ERROR");
- }
+
}
void loop() {
Serial.println("-- KELLERBUS --");
- if(kbus.initDevice() == COMM_OK) {
+ if(kbus.initDevice(250) == COMM_OK) {
Serial.print("TYPE: ");
Serial.print(kbus.getClass(),DEC);
Serial.print(".");

0 comments on commit 843c794

Please sign in to comment.