energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
798 stars 670 forks source link

CC3220SF analogRead() doe #998

Closed RemusRTF closed 6 years ago

RemusRTF commented 6 years ago

Thank you for opening an issue on the Energia repository.

Do not use GitHub issues for project related questions.

Use instead the 43oh forum and TI E2E forum, so everyone can share the questions and answers.

Do not use GitHub issues for questions on third-party libraries.

Use instead their own repositories.

Check the issue hasn't been reported yet.

If an issue has alreday been reported, add your case to its thread.

Please provide the following information.

Describe the expected results.

I wan`t to use analogRead to read out the analog voltage.

Describe the actual results.

I get the error message: "undefined reference to `analogRead'"

List the steps to reproduce the problem.

Use the analogRead() function on the CC3220SF and compile with Energia. energia error

robertinant commented 6 years ago

Please see resolution here:

https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/p/656105/2424837#2424837

"I have just pushed an update for the CC3220 in Energia. Please update to 5.6.1 using the board manager.

Note that A0 (pin 23) is shared with the UART pin that is connected to the emulator side (USB connection to the PC). If you would like to use A0 then you must RX jumper (J6) towards the CC3220SF. Note that you will not be able to send data using Serial to the PC when this jumper is switched. Rather then using A0, I would use A1 which is pin 25. This pin is exclusive to the BoosterPack header."

RemusRTF commented 6 years ago

Thank you very much, this removed the error but it caused another one to come up: energia error2