2026-02-20 07:27:56 +00:00
|
|
|
export const i2cCategory = {
|
|
|
|
|
kind: 'category',
|
|
|
|
|
name: 'I2C',
|
|
|
|
|
colour: '200',
|
|
|
|
|
contents: [
|
2026-04-19 14:23:55 +00:00
|
|
|
{ kind: 'block', type: 'i2c_init', fields: { CH: '0' } },
|
|
|
|
|
{ kind: 'block', type: 'i2c_scan', fields: { CH: '0' } },
|
|
|
|
|
{ kind: 'block', type: 'i2c_writeto', fields: { CH: '0' } },
|
|
|
|
|
{ kind: 'block', type: 'i2c_readfrom', fields: { CH: '0' } },
|
|
|
|
|
{
|
|
|
|
|
kind: 'block',
|
|
|
|
|
type: 'tcs34725_read_colours',
|
|
|
|
|
fields: {
|
|
|
|
|
CH: '0',
|
|
|
|
|
ADDR: 41,
|
|
|
|
|
},
|
|
|
|
|
},
|
2026-02-20 07:27:56 +00:00
|
|
|
],
|
|
|
|
|
};
|