- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Je n'ai travaillé casiment que sur Arduino (je suis étudiant), et je suis passé sur le Pioneer Kit BLE 4.2. Sur Arduino, il suffisait de faire un digitalRead, et le tour était joué. Quelqu'un aurait la fonction que je souhaite ?
J'ai essayé Vout_Read (le nom de ma sortie), mais visiblement je ne lis qu'un zéro, alors que 3.3V est bien présent.
Merci pour vos réponse par avance,
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forum language is English, easier for us when you translate for us, so not everyone who wants to help you has to do a translation.
"Reading" an analog value needs to use an ADC. Place an analog pin and an ADC onto your topdesign and connect both using a wire. Example projects you'll find when right-click on the ADC and select "Find Example Project"
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Forum language is English, easier for us when you translate for us, so not everyone who wants to help you has to do a translation.
"Reading" an analog value needs to use an ADC. Place an analog pin and an ADC onto your topdesign and connect both using a wire. Example projects you'll find when right-click on the ADC and select "Find Example Project"
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for french, I will try to translate but i haven't a good english.
I'm student and i only work with Arduino to program. I use, here, the Cypress Pioneer Kit. I search the function to read a voltage on an analogPin, on Arduino it was "analogRead()" function. If someone can help me that can be great.
I try with the function Vout_Read (), but i read only 0 on my output. I work on an Opamp project. WHen i take a voltmetre, i have 3.3V on my output. I don't understand why i read 0.
Thank you for your answers,
And thank you Bob, i will try to use an ADC.