Pro Trinket not working with Arduino Uno Code

Hey guys!

If anyone has any idea what I can do to get the correct data, that’d be awesome.

I am reading that the trinket does not have serial communication ability. But, I got the pro trinket to send data, but the data range is (170 to 180) where the data for the Uno with the *same code is (100-1000 [this is correct]). * Is there something I can change in my code to make this pro trinket feed me the correct data?

Thanks! Code is attached.

Spectrometer.ino (2.52 KB)

"the data range is (170 to 180) where the data for the Uno with the same code is (100-1000 [this is correct])."

I don't think anyone knows what you mean by that.

"The Pro Trinket 5V uses the Atmega328P chip, which is the same core chip in the Arduino UNO/Duemilanove/Mini/etc. at the same speed and voltage. So you'll be happy to hear that not only is Pro Trinket programmable using the Arduino IDE as you already set up, but 99% of Arduino projects will work out of the box!"
So if you connect up Rx,Tx, Gnd to an FTDI Basic, you'll have Serial Comm's with a PC just like an Arduino.