Author Topic: [BUG?] Delphi/Lazarus AmbientLight Callback Example no data  (Read 979 times)

rwblinn

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
[BUG?] Delphi/Lazarus AmbientLight Callback Example no data
« on: November 02, 2016, 17:11:31 »
Hi,

when running the call example from here www.tinkerforge.com/en/doc/Software/Bricklets/AmbientLight_Bricklet_Delphi.html#ambient-light-bricklet-delphi-examples, no data is returned. When running the simple example, then data is returned.

Bindings: delphi/laz 2.1.12; Delphi XE3 and 10.1 Berlin; Lazarus: 1.6.

Any guidance appreciated.

photron

  • Tinkerforge Staff
  • Administrator
  • Hero Member
  • *****
  • Posts: 2.439
    • View Profile
Re: [BUG?] Delphi/Lazarus AmbientLight Callback Example no data
« Reply #1 on: November 02, 2016, 18:53:32 »
Are you using the correct UID in the example?

Are you incorrectly using this Ambient Light Bricklet (1.0) example with an Ambient Light Bricklet 2.0?

rwblinn

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
Re: [BUG?] Delphi/Lazarus AmbientLight Callback Example no data
« Reply #2 on: November 03, 2016, 07:49:36 »
SOLVED - replaced the cable and now working fine.

Thanks for your help = appreciated.