Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20578

BASCOM-AVR : AtTiny85 as I2C slave : REPLY

$
0
0
Update to 2.0.7.7 tried the following code example: [code:1:739f849aae] $regfile = "attiny84.dat" $crystal = 8000000 $hwstack = 56 $swstack = 56 $framesize = 56 $timeout = 1000 Config I2cslave = &H34 , Int = Int0 , Timer = Timer0 Dim Br As Byte Dim Bw As Byte Dim Myarray(10) As Byte Do nop Loop I2c_master_addressed: Br = 0 'clear the byte counter Bw = 0 return I2c_master_has_data: Incr Bw Myarray(bw) = _a1 Return [/code:1:739f849aae] when assembling an error: "Error : 324 Line : 13 Chip not supported by I2C slave library , in File : D:noname1.bas" :cry:

Viewing all articles
Browse latest Browse all 20578

Trending Articles



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