Skip to main content
Fixed minor typos and fixed numbered list
Source Link
gnat
  • 20.5k
  • 29
  • 117
  • 310

The simplest solution is to use interrupts and timers.

The interrupts indicate:

  1. User I/O inputs
  2. Timer expiration

Two separate programs could communicate via two pipes or msgsnd() or semaphores or mutexes or signals.

(I think there is no need for multiple programs.)

If you write the program so that everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging and documenting of the program.

The simplest solution is to use interrupts and timers.

The interrupts indicate:

  1. User I/O inputs
  2. Timer expiration

Two separate programs could communicate via two pipes or msgsnd() or semaphores or mutexes or signals.

(I think there is no need for multiple programs.)

If you write the program so everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging and documenting of the program.

The simplest solution is to use interrupts and timers.

The interrupts indicate:

  1. User I/O inputs
  2. Timer expiration

Two separate programs could communicate via two pipes or msgsnd() or semaphores or mutexes or signals.

(I think there is no need for multiple programs.)

If you write the program so that everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging and documenting of the program.

theThe simplest solution is to use interrupts and timers.

The interrupts indicate 1) user I/O inputs 2) timer expiration:

  1. User I/O inputs
  2. Timer expiration

twoTwo separate programs could communicate via two pipes or msgsnd()msgsnd() or semaphores or mutexsmutexes or signals.

(I think there is no need for multiple programs.)

If you write the program so everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging, and documenting of the program.

the simplest solution is to use interrupts and timers.

The interrupts indicate 1) user I/O inputs 2) timer expiration

two separate programs could communicate via two pipes or msgsnd() or semaphores or mutexs or signals.

(I think there is no need for multiple programs.)

If you write the program so everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging, documenting of the program.

The simplest solution is to use interrupts and timers.

The interrupts indicate:

  1. User I/O inputs
  2. Timer expiration

Two separate programs could communicate via two pipes or msgsnd() or semaphores or mutexes or signals.

(I think there is no need for multiple programs.)

If you write the program so everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging and documenting of the program.

Source Link

the simplest solution is to use interrupts and timers.

The interrupts indicate 1) user I/O inputs 2) timer expiration

two separate programs could communicate via two pipes or msgsnd() or semaphores or mutexs or signals.

(I think there is no need for multiple programs.)

If you write the program so everything is interrupt driven, along with a 'background' activity that is running when no interrupt is being serviced. Then the program should be 'relatively' easy to implement.

Some experience with real-time embedded program would greatly assist you in the design, coding, debugging, documenting of the program.