Recent Posts

Pages: 1 ... 8 9 [10]
91
Support / Re: Simblee assembly and pick'n place machines
« Last post by tolson on May 14, 2017, 05:42:21 PM »
Thanks Tom.

Another change in our process is to attach the programming header to the board before applying power to the USB shield. I understand damage can occur if I/O pins are connected before power is applied. The theory is beyond me, but I've learned this from a trusted source.

Tim

Right.. Absolutely. I noticed some videos showing people that should know better inserting and/or pulling their shields apart while power is still applied. These devices are NOT hot swappable designs. For anybody that might read this... Always remove your powered USB and/or other power source before attaching and removing shields.

92
Support / Re: Simblee assembly and pick'n place machines
« Last post by Tim on May 14, 2017, 01:49:45 PM »
Thanks Tom.

Another change in our process is to attach the programming header to the board before applying power to the USB shield. I understand damage can occur if I/O pins are connected before power is applied. The theory is beyond me, but I've learned this from a trusted source.

Tim
93
Support / Re: Simblee assembly and pick'n place machines
« Last post by tolson on May 14, 2017, 10:57:30 AM »
Hey Tim,

Sounds reasonable to me. I look forward to your further discoveries.

Although, ultimately, it would be nice to know what to do when a more I/O intensive project comes along.

94
Support / Re: Simblee assembly and pick'n place machines
« Last post by Tim on May 14, 2017, 08:54:20 AM »
Some additional ideas in attempt to improve our hand assembly yield.

1) Change I/O pin assignment to reduce number of adjacent pins in use.

2) Remove from PCB any pads for Simblee pins not in use.

Reasonable?

Also, we've cleaned up our handling procedures to eliminate ESD events that could damage chips.

Thanks,

Tim
95
Hi,

I'm getting an intermittent error at compile time when I target Simblee.
It seems to work when Arduino has just been restarted, but then it could pop up the very next time, or I could have a run of successful uploads 3-10 or so times before it happens again. This is the entire error with showing verbose output during compilation:
Code: [Select]
Arduino: 1.8.2 (Mac OS X), Board: "Simblee"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Applications/Arduino.app/Contents/Java/portable/packages -hardware /Users/joelmurphy/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Applications/Arduino.app/Contents/Java/portable/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/joelmurphy/Documents/Arduino/libraries -fqbn=Simblee:Simblee:Simblee -ide-version=10802 -build-path /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509 -warnings=none -build-cache /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_cache_434079 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1 -verbose /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/examples/MicroOLED_Cube/MicroOLED_Cube.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Applications/Arduino.app/Contents/Java/portable/packages -hardware /Users/joelmurphy/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Applications/Arduino.app/Contents/Java/portable/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/joelmurphy/Documents/Arduino/libraries -fqbn=Simblee:Simblee:Simblee -ide-version=10802 -build-path /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509 -warnings=none -build-cache /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_cache_434079 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1 -verbose /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/examples/MicroOLED_Cube/MicroOLED_Cube.ino
Using board 'Simblee' from platform in folder: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/dev/null"
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/dev/null"
Using cached library dependencies for file: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire/Wire.cpp
Using cached library dependencies for file: /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/OpenHAK_MicroOLED.cpp
Using cached library dependencies for file: /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED/hardware.cpp
Generating function prototypes...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin  -w -x c++ -E -CC -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-builtin -MMD -mcpu=cortex-m0 -DF_CPU=16000000 -DARDUINO=10802 -D__PROJECT__="MicroOLED_Cube.ino" -mthumb -D__Simblee__ "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire" "-I/Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/Simblee/include" "-I/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/system/CMSIS/CMSIS/Include" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp" -o "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/Wire/Wire.cpp.o
Compiling library "OpenHAK_MicroOLED"
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/OpenHAK_MicroOLED.cpp.o
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/hardware.cpp.o
Compiling core...
Using previously compiled file: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/variant.cpp.o
Using precompiled core
Linking everything together...
"/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -Wl,--gc-sections --specs=nano.specs -mcpu=cortex-m0 -mthumb -D__Simblee__ "-T/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/linker_scripts/gcc/Simblee.ld" "-Wl,-Map,/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/MicroOLED_Cube.ino.map" -Wl,--cref -o "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/MicroOLED_Cube.ino.elf" "-L/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509" -Wl,--warn-common -Wl,--warn-section-align -Wl,--start-group "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/syscalls.c.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/sketch/MicroOLED_Cube.ino.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/Wire/Wire.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/OpenHAK_MicroOLED.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/libraries/OpenHAK_MicroOLED/hardware.cpp.o" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/variant.cpp.o" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeSystem.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimblee.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeBLE.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeGZLL.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeForMobile.a" "/Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/variants/Simblee/libSimbleeCOM.a" "/var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/../arduino_cache_434079/core/core_Simblee_Simblee_Simblee_f8bf0459a6195d41a6206d524a837c2d.a" -Wl,--end-group
arm-none-eabi-g++: error: /var/folders/90/hyfczvl14p7g9k9xzwqcmbx80000gn/T/arduino_build_291509/core/syscalls.c.o: No such file or directory
Using library Wire in folder: /Applications/Arduino.app/Contents/Java/portable/packages/Simblee/hardware/Simblee/1.1.1/libraries/Wire (legacy)
Using library OpenHAK_MicroOLED in folder: /Users/joelmurphy/Documents/Arduino/libraries/OpenHAK_MicroOLED (legacy)
exit status 1
Error compiling for board Simblee.

I have the same error when I use the Simblee board files 1.1.1 and 1.1.2

I'm on a macbook pro. One of the newer ones with the alien buttholes USB3 ports. OS 10.12.4
96
Simblee Libraries / Re: Swap I2C SDA and SCL Pins On The Fly?
« Last post by biomurph on May 13, 2017, 10:52:12 AM »
Just hitting this to say that Wire2 works like a charm!
97
BLE and Low Level Development / BlE Advertisement causing FastLeds to faulter
« Last post by Amitrehan on May 12, 2017, 04:53:40 AM »
Hello,

I have a setup of three NeoPixel strips, and each of them are on different pin. I am trying to show some patterns on received communication from Ios device.

When Rfduino receives the data from ios deive, it starts the animation but then after couple of cycles some of the leds  starts to faulter (remain off). This is when the ble advertisement is active.

Is there a mechanism to carry on the animation when the ble is in advertisement mode or not to interrupt the animation and advertise on seperate thread.

I would greatly appreciate your help.

Best
98
Videos/Guides/Tutorials / Re: Simblee for Mobile and SimbleeCOM - Dual Mode
« Last post by KCeng on May 11, 2017, 05:32:16 AM »
This code does not work using Arduino 1.6.9 and Simblee 1.1.2.  The clients (multiple can be used) will control each other as advertised.  However, the DualMode host will not control the client units.  The mobile interface makes no difference.  The mobile interface will control the host; however, it does not control the client units.  :(
99
Simblee Libraries / Re: Swap I2C SDA and SCL Pins On The Fly?
« Last post by biomurph on May 10, 2017, 07:33:18 AM »
Hi tolson,

You got a secret squirrel I2C bus on the Simblee!? Hey that's great! Totally solves my problemo!

I was poking around in the board files yesterday and did see the Wire.end() and thought that would likely have to be employed for my original idea.

All good info to know.

Cheers!
100
Simblee Libraries / Re: Swap I2C SDA and SCL Pins On The Fly?
« Last post by tolson on May 09, 2017, 09:48:38 PM »
That's the question... It looks like it's possible by simply doing
Code: [Select]
Wire.beginOnPins(sclPin1, sdaPin1);and then
Code: [Select]
Wire.beginOnPins(sclPin2, sdaPin2);at some other part of the code.

I have an I2C bus that will be primary, so the secondary will switch to it's bus and then back to the primary when it's done.

is this possible? I will try, and let you know.

Hi biomurph,

You should probably do a Wire.end() before redefining the pins.
BUT, if you are using SImblee there are two hardware I2C busses, so you could do both at the same time.
It is not documented in any company documents. But it is in the source code.

So you could do.
Wire.begin();  //for default pins for I2C1 5,6
Wire2.begin();  //for default pins for I2C2  13,14

or do define customs for both...
Wire.beginOnPins(sclPin1,sdaPin1);
Wire2.beginOnPins(sclPin2,sdaPin2);

Here is my modification to i2c_scanner_dual...

Code: [Select]
// --------------------------------------
// i2c_scanner_dual
//
// Version 1
//    This program (or code that looks like it)
//    can be found in many places.
//    For example on the Arduino.cc forum.
//    The original author is not know.
// Version 2, Juni 2012, Using Arduino 1.0.1
//     Adapted to be as simple as possible by Arduino.cc user Krodal
// Version 3, Feb 26  2013
//    V3 by louarnold
// Version 4, March 3, 2013, Using Arduino 1.0.3
//    by Arduino.cc user Krodal.
//    Changes by louarnold removed.
//    Scanning addresses changed from 0...127 to 1...119,
//    according to the i2c scanner by Nick Gammon
//    http://www.gammon.com.au/forum/?id=10896
// Version 5, March 28, 2013
//    As version 4, but address scans now to 127.
//    A sensor seems to use address 120.
//
// This sketch tests the standard 7-bit addresses
// Devices with higher bit address might not be seen properly.
//
// Version ThomasOlson teo20140527.01 works with RFduino with mods.
//
// Version ThomasOlson teo20160612.01 Modified to test both I2C
// busses on 3rd generation nRF51822 as in Simblee

#include <Wire.h>


void setup()
{

  Serial.begin(9600);
  Serial.println("\nI2C Scanner Dual Ports");

  Wire.begin(); // default SCL = 5, SDA = 6
  //Wire.beginOnPins(5,6);
  Wire2.begin(); // default SCL2 = 13, SDA = 14
  Wire2.beginOnPins(2,3);
 
}


void loop()
{
  byte error, address;
  int nDevices;

  Serial.println("Scanning Bus 1 ...");

  nDevices = 0;

  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    Wire.write(0x00);
    error = Wire.endTransmission();

    if (error == 0)
    {
      Serial.print("I2C device on bus 1 found at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.print(address,HEX);
      Serial.println("  !");

      nDevices++;
    }else{
//      Serial.print("Error ");
//      Serial.print(error);
//      Serial.print(" at address 0x");
//      if (address<16)
//        Serial.print("0");
//      Serial.println(address,HEX);
    }   
  }
 
  if (nDevices == 0){
    Serial.println("No I2C devices found on bus 1\n");
  }else{
    Serial.print(nDevices);
    Serial.println(" found\n");
  }



  Serial.println("Scanning Bus 2 ...");

  nDevices = 0;

  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the address.
    Wire2.beginTransmission(address);
    Wire2.write(0x00);
    error = Wire2.endTransmission();

    if (error == 0)
    {
      Serial.print("I2C bus 2 device found at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.print(address,HEX);
      Serial.println("  !");

      nDevices++;
    }else{
//      Serial.print("Error ");
//      Serial.print(error);
//      Serial.print(" at address 0x");
//      if (address<16)
//        Serial.print("0");
//      Serial.println(address,HEX);
    }   
  }
 
  if (nDevices == 0){
    Serial.println("No I2C devices found on bus 2\n");
  }else{
    Serial.print(nDevices);
    Serial.println(" found\n");
  }

  delay(5000);           // wait 5 seconds for next scan
}
Pages: 1 ... 8 9 [10]