EBC Mini Project 03

From eLinux.org
Jump to: navigation, search

thumb‎ Embedded Linux Class by Mark A. Yoder

Note: In future classes consider breaking this into two projects, one with video and user input and the other audio.

This mini project is a follow up on the audioThru and videoThru labs. At this point you should have both audio and video working in their own threads in one app. This mini project starts there and adds a feature. On user input,

  1. have the Video2 display a copy of the current image in Video1. Video1 is to keep displaying live video.
  2. replay the last 5 seconds of audio, while continuing to play the live audio.

You can decide what the user input is. It may be

  1. User hits return in the terminal
  2. Sensor detects the user
  3. etc.

Keep in mind this is on the xM, so the sensors you used before may not work. For example, there is no analog in.

Write a small (less than one page) memo that highlights the features of this mini project and demo it.

Note: Copy the vid2Show and the setDSSpaths to lab 8 folder and call vid2Show after making minor modifications to the file to show both video buffers.

Note: If you have issues with Framebuffer 2 (mmap fails), it may not have memory properly allocated. Before running your application, enter this command:

echo 4000000 > /sys/class/graphics/fb2/size

Courtesy of the BeagleBoard FAQ

thumb‎ Embedded Linux Class by Mark A. Yoder