User Tools

Site Tools


en:pfw:i2c_gd32vf_noforth_i2c-test.f

\ Show if a device with address 'dev' is present on the I2C-bus
: I2C?          ( dev -- )
    i2c-on  device!  {device-ok?}
    0= if  ." Not "  then  ." Present " ;

\ End ;;;
en/pfw/i2c_gd32vf_noforth_i2c-test.f.txt · Last modified: 2023-09-04 18:15 by uho