this code need small adjustments for xmega.
For example :
Dim Color_h_ssd1963 As Iram Byte At 22
Dim Color_l_ssd1963 As Iram Byte At 21
These are registers R21 and R22. The xmega can not linear address these registers. But you can use bascom SETREG statement. Or use some asm with STS.
↧