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:
↧