|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Interrupts, Interrupts, and more Interrupts!
Quote:
All rx/tx data fields are byte sized and therefore access to each field is atomic by default. |
|
#2
|
|||||
|
|||||
|
Re: Interrupts, Interrupts, and more Interrupts!
Right, but the entire data structure is not. Look at how the IFI default code works -- it treats some of the PWM outputs as temporary locations before finishing the single-joystick mixing. This works fine when the get/put is done explicitly. If you have a need to coordinate values, you have to consider the possibility that the EasyC magic communication might happen when you've started setting them but haven't completed setting them all.
|
|
#3
|
|||
|
|||
|
Re: Interrupts, Interrupts, and more Interrupts!
New question related to interrupts. I use EasyCv2 for Vex and would like to know how to read the values of the 6 interrupt ports (similar to the way that you use GetDigitalInput(I) to read one of the digital input ports). Basically, I want to create something similar to the FVC/FTC competition template but not be limited by the 20 second/2 minute demarcations of the template the way it currently exists.
|
|
#4
|
|||
|
|||
|
Re: Interrupts, Interrupts, and more Interrupts!
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How many interrupts is too many interrupts? | Madison | Programming | 14 | 08-02-2008 12:09 |
| More than 6 RC digital input interrupts? | Jared Russell | Programming | 2 | 06-02-2007 15:41 |
| Interrupts and Script Conundrums | Jon236 | Programming | 2 | 08-02-2005 23:01 |
| interrupts and putdata() | doy | Programming | 4 | 23-02-2004 22:45 |
| Interrupts and rotation sensors | kor | Programming | 3 | 12-02-2004 11:05 |