Jump to content
43oh

Having Library Problem CC3200


Recommended Posts

Hi All,

I want to use a library which is made for Arduino. But Im having problems when Im trying to compile by using Energia.

The First problem is ADC settings

bvsm.setAudioInput(BVSM_AUDIO_INPUT, EXTERNAL);

There is no EXTERNAL adc reference, How Can I correct this issue?

ISR(TIMER2_COMPA_vect)
	{
		if (globalBVSMic != NULL && globalBVSMic->isRecording)
		{
			//Starts ADC conversion  
			sbi(ADCSRA, ADSC);
		}
	}

And in this part I get errors,

Quote

 

expected constructor, destructor, or type conversion before '(' token

  ISR(TIMER2_COMPA_vect)

     ^

 


I think I should change the value of ISR which is "TIMER2_COMPA_vect" to something suitable for CC3200, but I couldnt find anything.

Can you help me please, I also attach the libraries that I try to use. 

BVSMic.cpp

BVSMic.h

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...