czerepsky

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: problems displaying serial data? #9136
    czerepsky
    Participant

    When i try compile your code i have a error:
    In file included from /Users/Czerep/Documents/Arduino/test/test_TV_GPS/OverlayGPS/OverlayGPS.ino:5:0:
    sketch/bitmaps.h:6:8: error: 'prog_uchar' does not name a type
    extern prog_uchar bitmaps[];

    I add a pollserial and i have something in monitor but i don’t known what should do next.

    in reply to: problems displaying serial data? #9134
    czerepsky
    Participant

    Hi,

    I have some problem with display only speed (for the begin can be something else).
    I make video shield by self (with project from web ;)) and i try to connect GPS (NEO-6M).
    On the screen i have simple line which go up and down (loop) and i need to add on the right corner a real speed. I write simple code to horizontal line:

    #include <TVout.h>
    #include <fontALL.h>
    #define W 136
    #define H 96
    TVout tv;
    int y;
    void setup()  {
      tv.begin(PAL, W, H);
      initOverlay();
      tv.select_font(font6x8);
      tv.fill(0);
    }
    // Initialize ATMega registers for video overlay capability.
    // Must be called after tv.begin().
    void initOverlay() {
      TCCR1A = 0;
      // Enable timer1.  ICES0 is set to 0 for falling edge detection on input capture pin.
      TCCR1B = _BV(CS10);
      // Enable input capture interrupt
      TIMSK1 |= _BV(ICIE1);
      // Enable external interrupt INT0 on pin 2 with falling edge.
      EIMSK = _BV(INT0);
      EICRA = _BV(ISC01);
    }
    // Required to reset the scan line when the vertical sync occurs
    ISR(INT0_vect) {
      display.scanLine = 0;
    }
    void loop() {
      for (y=0; y<90; y++){
      tv.draw_line(0, y, 130, y, 1);
      tv.clear_screen();
      delay(500);
      }
      }
    

    But i can’t connect this with GPS. I try with poll serial, but I don’t know what next 🙁
    Could you help me? I need this for my master of thesis.
    And also sorry for my english, it very poor.

    • This reply was modified 7 years, 4 months ago by czerepsky.
Viewing 2 posts - 1 through 2 (of 2 total)