How do I develop software codes to control my click board on BeaglePlay?

Dear BeaglePlay Experts,
I have set up my BeaglePlay OS and also loaded the manifest driver for Temp-Hum 4 Click Board:

  • So what are the recommended easiest steps to develop codes on BeaglePlay Board to control my hardware click boards?

  • Is Node-RED an easy IDE? It seems very funny and graphical.

I have experience on writing ANSI C codes on PIC 8 bit MCU to control click boards, simple Python to control GPIO and so on. So please don’t bully me. :shushing_face: :blush:

1 Like

I still cannot see my board’s I2C address by running:
i2cdetect 0 to 5.

How do I correct it? :tired_face:

I cannot stack up several click boards with I2C bus. How do I correct it? :tired_face:

debian@BeaglePlay:~$ dmesg | grep mikrobus
[   12.135910] mikrobus:mikrobus_port_register: registering port mikrobus-0
[   12.135984] mikrobus mikrobus-0: mikrobus port 0 eeprom empty probing default eeprom
[   19.318443] mikrobus_manifest:mikrobus_manifest_attach_device: parsed device 1, driver=hdc1010, protocol=3, reg=43
[   19.318461] mikrobus_manifest:mikrobus_manifest_parse:  TEMP HUM 4 Click manifest parsed with 1 devices
[   19.318561] mikrobus mikrobus-0: registering device : hdc1010
[   19.342417] mikrobus mikrobus-0: already has board registered
[   19.354065] mikrobus mikrobus-0: already has board registered

Since you have experience with ANSI C and Python, you might find that continuing in a similar vein could be easiest. Node-RED, with its graphical flow-based programming model, can indeed make coding more visual and intuitive, especially for integrating different hardware components like your Temp-Hum 4 Click Board.

Yeah, use Node-RED. I can recommend it too.

And if you’re looking to develop from scratch, consider using your existing coding skills to create custom scripts that interface directly with your hardware.

This approach can give you more control and flexibility over your project.