|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: How to read Cypress values properly?
I posted a few answers marked with ***s.
The axes of the accelerometer return "weird" values. How do I read them properly? For example, what value will I get for tilting it horizontally? *** It may be easiest to look at the enhanced I/O page and tilt the board back and forth to note which is X, which is Y, which is positive and which is negative. The touch proximity value seems to work only when the antena supplied in the kit is connected. Is there a way to make it work without it? Also, how do I read its values properly? *** I assume you could wire it to an isolated rivet or screw head. Honestly, it didn't seem to work that well, so I don't know it is worth it. I read that some of the connectors on the cypress board can be used as PWMs. How can I configure it that way in the program and on the board? *** You configure the period using either the configuration VI or the configuration dialog. You set the PWM ratio using the Enhanced I/O VI specifically for this value. Honestly, I'm not sure what you would normally use the PWM generation for on a driver station, but the HW does it, so there it is. In Labview, there is a VI that allows me to set the mode of each digital channel (Set Enhanced Digital Config VI). However, I noticed you can do the same when you click the "configure" button in the I/O tab on the Driver Station. Is there a difference whether I change it in the program or on the DS? Are they synced? *** The config page is the initial config settings, and most likely all you'll need. On the other hand, it seemed useful to allow the robot control the configuration. This would allow easier swapping of the DS. Greg McKaskle |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to properly connect and program servo | camper365 | NI LabVIEW | 3 | 27-01-2010 16:21 |
| Servo Values to Degrees... How? | mogunus | Programming | 16 | 11-04-2007 02:03 |
| How to set up and run a FF League properly. | Alex Cormier | Fantasy FIRST | 4 | 27-02-2006 17:18 |
| Chain..... How you do it properly? | JasJ002 | Inventor | 12 | 03-06-2005 08:49 |
| How to make gears mesh properly. | sanddrag | Technical Discussion | 7 | 13-01-2004 20:19 |