Jump to content
43oh

caneralp

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by caneralp

  1. 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, I think I should change the value of ISR which is "TIMER2_COMPA_vect" to something suitable for CC3200,
  2. Hello, I have a problem with optimization. Can anyone help me? my code is below which is for loop and delaying. volatile unsigned int b; b = 30000; do { b--; }while(b != 0); normally unless I define b as a volatile variable, it doesnt work, Can anyone explain why it doesnt work? Also when I debug step by step, It works. Also without this loop it works but I can not see the changes. Thanks
×
×
  • Create New...