[SOLVED] CT sensor with Attiny85

Hello,

mirc84:
I am using the core posted here https://github.com/mchr3k/arduino-libs-manchester/downloads by mchr3k. I did so in order to get the Manchester library working.

It's a slightly older version of core available here...
http://code.google.com/p/arduino-tiny/

There is nothing "Manchester library" specific in it.

//Set current input pin
int inPinI = 1;
...
   sampleI = analogRead(inPinI);

You are reading from ADC1. This is PB2 / digital pin 2 (right side of chip, second pin from the top). Is that where the sensor is connected?