Quantcast
Viewing all articles
Browse latest Browse all 12090

Re: Fan etc on external i2c-controller

ok looks like more gcode needed, try this

;reset
M260 A64
M260 B00 ;Control register set to address 00h
M260 B128 ;(0x80) Mode 1 configured to with restart=1
M260 S1

;set PWM freq
M260 A64
M260 B254 ;Control register set to address FEh
M260 B5
M260 S1

;init the chip
M260 A64
M260 B00 ;Control register set to address 00h
M260 B33 ;(0x21) Mode 1 configured to with AI=1 and ALLCALL=1
M260 S1

;set led0 50on/50off
M260 A64
M260 B06 ;Control register set to address LED0_ON_L
M260 B00 ;Writing 8 LSB bits of ON count
M260 B08 ;Writing 4 MSB bits of ON count
M260 B00 ;Writing 8 LSB bits of OFF count
M260 B08 ;Writing 4 MSB bits of ON count
M260 S1

Viewing all articles
Browse latest Browse all 12090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>