<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for mrpioneer</title><link href="https://forge.codesys.com/u/mrpioneer/activity/" rel="alternate"/><id>https://forge.codesys.com/u/mrpioneer/activity/</id><updated>2021-07-16T13:16:52.998000Z</updated><subtitle>Recent activity for mrpioneer</subtitle><entry><title>mrpioneer posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7223fbf476/?limit=25#e626" rel="alternate"/><published>2021-07-16T13:16:52.998000Z</published><updated>2021-07-16T13:16:52.998000Z</updated><author><name>mrpioneer</name><uri>https://forge.codesys.com/u/mrpioneer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/7223fbf476/?limit=25#e626</id><summary type="html">write8 write8(1, 16#40); If i understand it correct should this write BIT 4 in register 01? write HoldCmd :BYTE :=16#F4; write(ADR(HoldCmd),1); This will write a byte into register 16 # F4. But what bits? All to 1 or all to 0 or something completely different? writeBits But unfortunately I have no idea how to use this command. I would be very grateful for a short description Input usiRegister USINT register usiFirstBit USINT highest value bit to write (0..7) usiLength USINT number of bits to write...</summary></entry><entry><title>mrpioneer posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7223fbf476/?limit=25#1e6e" rel="alternate"/><published>2021-07-12T16:11:19.937000Z</published><updated>2021-07-12T16:11:19.937000Z</updated><author><name>mrpioneer</name><uri>https://forge.codesys.com/u/mrpioneer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/7223fbf476/?limit=25#1e6e</id><summary type="html">Hello everybody, I need a brief explanation. I would like to create an i2C library in which I have to write individual bits in different registers. Specifically, this means Register (0x01) Bit 4 Possibly can someone write me a short code how this works. I have the following methods available within the library. write write8 writebits Thanks in advance.</summary></entry><entry><title>mrpioneer modified a comment on discussion Deutsch 🇩🇪</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e34514a988/?limit=25#5986" rel="alternate"/><published>2021-07-12T12:02:36.558000Z</published><updated>2021-07-12T12:02:36.558000Z</updated><author><name>mrpioneer</name><uri>https://forge.codesys.com/u/mrpioneer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Deutsch/thread/e34514a988/?limit=25#5986</id><summary type="html">Erledigt</summary></entry><entry><title>mrpioneer modified a comment on discussion Deutsch 🇩🇪</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e34514a988/?limit=25#5986" rel="alternate"/><published>2021-07-12T12:01:50.812000Z</published><updated>2021-07-12T12:01:50.812000Z</updated><author><name>mrpioneer</name><uri>https://forge.codesys.com/u/mrpioneer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Deutsch/thread/e34514a988/?limit=25#5986</id><summary type="html">Erledigt</summary></entry><entry><title>mrpioneer posted a comment on discussion Deutsch 🇩🇪</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/e34514a988/?limit=25#5986" rel="alternate"/><published>2021-07-11T11:44:20.872000Z</published><updated>2021-07-11T11:44:20.872000Z</updated><author><name>mrpioneer</name><uri>https://forge.codesys.com/u/mrpioneer/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Deutsch/thread/e34514a988/?limit=25#5986</id><summary type="html">Hallo zusammen, ich versuche jetzt schon einige Tage einen CCS811 Sensor zum laufen zu bekommen. Datasheet: https://www.sciosense.com/wp-content/uploads/2020/01/SC-001232-DS-2-CCS811B-Datasheet-Revision-2.pdf Leider scheitere ich daran die Register zu beschreiben. Ich denke ich benötige an dieser Stelle Hilfe eines Profis. Die Slave Adresse lautet : slave address 0x5A; sudo i2cdetect -y 1 zeigt mir diese auch korrekt an. Nun möchte ich das Register 16#01 beschreiben mit Mode4. 0x01 MEAS_MODE R/W...</summary></entry></feed>