Search the Community
Showing results for tags 'analogRead()'.
Hi, So I simply wanted to try out my new CC3220SF using Energia. Unfortunately I noticed that I always get the wrong readings from the pin. I used a voltage divider to ensure the voltage connected to the analog pin is no more than 1.3V. For that I simply took three 1k Ohm resistors and put them in series then connect a parallel circuit from the last resistor to the potentiometer. I also have ensure that the jumper powering the opAmp to enable the ADC on board is populated. I simply used the example code then changed the pin number. I also already have tested changing all the pin nu
Hey guys! So I have 2 msp430g2553 launchpads and I am trying to build a IR line of sight communication system. Basically I have a IR led and IR photo transistor on both the launchpads including a visible led. So what i want to do is: Press the push button on one launchpad The IR signal from that launchpad goes to launchpad2 The visible led on launchpad2 lights up And vice versa So far I have created a program on Energia that turns the led on after pressing and releasing the push button. Then turns it off after pressing and releasing it again. But now I am stuck. I don't know ho