it appears to be a bug. but i will check it. getadc() started with chips that had only 8 channels. later other options were added like with the offset. but the offset was too hard to use for some. so later an option was added to use one channel parameter for all modes. so without checking, i think they both work. i did look and see you get different result indeed. so i will check it. could be a problem in the dat file too. _________________ Mark
i checked it and it is indeed a bug. you get it for normal AVR when using the offset with numeric values when the mux5 bit must be set (m1280,m2560). i changed it. _________________ Mark
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum