Giter VIP home page Giter VIP logo

tinycircuits-tinytv-ask4002's Introduction

TinyCircuits TinyTV

ASK4002

The design files are located under design_files/ for the TinyTV Remote, other design files can be found under the individual components' name on our GitHub. This Repo contains any files or documentation specific to the TinyTV.

Format is in Cadsoft Eagle format - Eagle version 6.2 was used for the original design.

For more infomation on this, check out the product page at TinyCircuits.com

License:

Design by TinyCircuits. All design files are released under the Creative Commons Attribution Share-Alike 3.0 License, see the following link for details: http://creativecommons.org/licenses/by-sa/3.0

All text above must be included in any redistribution or derived design

This project uses designs and concepts developed as part of the Arduino project and the LilyPad project. The TinyCircuits design files themselves (schematics, PCB and libraries) are not directly derived from these works' design files and have been created new, however the concepts and basic architecture behind the TinyDuino and TinyLily products are derived and we thank the hard work of the organizations below for their contributions to open-source hardware:

Original Arduino Uno Design by Team Arduino

LilyPad Arduino Design by Leah Buechley and Sparkfun Electronics

Please support the open-source hardware community

tinycircuits-tinytv-ask4002's People

Contributors

tinycircuits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tinycircuits-tinytv-ask4002's Issues

GCLK was not declared in scope.

I got your tinytv kit, and am following along your instructions:
http://learn.tinycircuits.com/Kits/Tiny-Video-Program/

When I open TinyTV.ino and click "verify" it says:

Arduino: 1.8.19 (Mac OS X), Board: "Arduino Uno"











/Users/patrick/Downloads/TinyTV/audio.ino: In function 'void tcConfigure(uint32_t)':
audio:7:3: error: 'GCLK' was not declared in this scope
   GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;
   ^~~~
/Users/patrick/Downloads/TinyTV/audio.ino:7:3: note: suggested alternative: 'SCL'
   GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;
   ^~~~
   SCL
audio:7:35: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope
   GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;
                                   ^~~~~~~~~~~~~~~~~~
audio:7:56: error: 'GCLK_CLKCTRL_GEN_GCLK0' was not declared in this scope
   GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;
                                                        ^~~~~~~~~~~~~~~~~~~~~~
audio:7:97: error: 'GCM_TC4_TC5' was not declared in this scope
   GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;
                                                                                                 ^~~~~~~~~~~
audio:7:81: error: 'GCLK_CLKCTRL_ID' was not declared in this scope
   GCLK->CLKCTRL.reg = (uint16_t) (GCLK_CLKCTRL_CLKEN | GCLK_CLKCTRL_GEN_GCLK0 | GCLK_CLKCTRL_ID(GCM_TC4_TC5)) ;
                                                                                 ^~~~~~~~~~~~~~~
audio:13:3: error: 'TC5' was not declared in this scope
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_MODE_COUNT16;
   ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:13:3: note: suggested alternative: 'RC5'
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_MODE_COUNT16;
   ^~~
   RC5
audio:13:29: error: 'TC_CTRLA_MODE_COUNT16' was not declared in this scope
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_MODE_COUNT16;
                             ^~~~~~~~~~~~~~~~~~~~~
audio:16:29: error: 'TC_CTRLA_WAVEGEN_MFRQ' was not declared in this scope
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_WAVEGEN_MFRQ;
                             ^~~~~~~~~~~~~~~~~~~~~
audio:18:29: error: 'TC_CTRLA_PRESCALER_DIV1' was not declared in this scope
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_PRESCALER_DIV1;
                             ^~~~~~~~~~~~~~~~~~~~~~~
audio:20:40: error: 'SystemCoreClock' was not declared in this scope
   TC5->COUNT16.CC[0].reg = (uint16_t) (SystemCoreClock / sampleRate - 1);
                                        ^~~~~~~~~~~~~~~
audio:24:19: error: 'TC5_IRQn' was not declared in this scope
   NVIC_DisableIRQ(TC5_IRQn);
                   ^~~~~~~~
audio:24:3: error: 'NVIC_DisableIRQ' was not declared in this scope
   NVIC_DisableIRQ(TC5_IRQn);
   ^~~~~~~~~~~~~~~
audio:25:3: error: 'NVIC_ClearPendingIRQ' was not declared in this scope
   NVIC_ClearPendingIRQ(TC5_IRQn);
   ^~~~~~~~~~~~~~~~~~~~
audio:26:3: error: 'NVIC_SetPriority' was not declared in this scope
   NVIC_SetPriority(TC5_IRQn, 0);
   ^~~~~~~~~~~~~~~~
audio:27:3: error: 'NVIC_EnableIRQ' was not declared in this scope
   NVIC_EnableIRQ(TC5_IRQn);
   ^~~~~~~~~~~~~~
/Users/patrick/Downloads/TinyTV/audio.ino: In function 'bool tcIsSyncing()':
audio:37:10: error: 'TC5' was not declared in this scope
   return TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY;
          ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:37:10: note: suggested alternative: 'RC5'
   return TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY;
          ^~~
          RC5
audio:37:36: error: 'TC_STATUS_SYNCBUSY' was not declared in this scope
   return TC5->COUNT16.STATUS.reg & TC_STATUS_SYNCBUSY;
                                    ^~~~~~~~~~~~~~~~~~
/Users/patrick/Downloads/TinyTV/audio.ino: In function 'void tcStartCounter()':
audio:44:3: error: 'TC5' was not declared in this scope
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE;
   ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:44:3: note: suggested alternative: 'RC5'
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE;
   ^~~
   RC5
audio:44:29: error: 'TC_CTRLA_ENABLE' was not declared in this scope
   TC5->COUNT16.CTRLA.reg |= TC_CTRLA_ENABLE;
                             ^~~~~~~~~~~~~~~
/Users/patrick/Downloads/TinyTV/audio.ino: In function 'void tcReset()':
audio:51:3: error: 'TC5' was not declared in this scope
   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;
   ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:51:3: note: suggested alternative: 'RC5'
   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;
   ^~~
   RC5
audio:51:28: error: 'TC_CTRLA_SWRST' was not declared in this scope
   TC5->COUNT16.CTRLA.reg = TC_CTRLA_SWRST;
                            ^~~~~~~~~~~~~~
/Users/patrick/Downloads/TinyTV/audio.ino: In function 'void tcDisable()':
audio:59:3: error: 'TC5' was not declared in this scope
   TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;
   ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:59:3: note: suggested alternative: 'RC5'
   TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;
   ^~~
   RC5
audio:59:30: error: 'TC_CTRLA_ENABLE' was not declared in this scope
   TC5->COUNT16.CTRLA.reg &= ~TC_CTRLA_ENABLE;
                              ^~~~~~~~~~~~~~~
/Users/patrick/Downloads/TinyTV/audio.ino: In function 'void Audio_Handler()':
audio:72:10: error: 'DAC' was not declared in this scope
   while (DAC->STATUS.bit.SYNCBUSY == 1);
          ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:72:10: note: suggested alternative: 'DEC'
   while (DAC->STATUS.bit.SYNCBUSY == 1);
          ^~~
          DEC
audio:81:3: error: 'DAC' was not declared in this scope
   DAC->DATA.reg =  dacOut;
   ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:81:3: note: suggested alternative: 'DEC'
   DAC->DATA.reg =  dacOut;
   ^~~
   DEC
audio:94:3: error: 'TC5' was not declared in this scope
   TC5->COUNT16.INTFLAG.bit.MC0 = 1;
   ^~~
/Users/patrick/Downloads/TinyTV/audio.ino:94:3: note: suggested alternative: 'RC5'
   TC5->COUNT16.INTFLAG.bit.MC0 = 1;
   ^~~
   RC5
/Users/patrick/Downloads/TinyTV/settingsMenu.ino: In function 'void readCodes()':
settingsMenu:11:3: error: 'SerialUSB' was not declared in this scope
   SerialUSB.print("Opening IRCodes.txt.. ");
   ^~~~~~~~~
/Users/patrick/Downloads/TinyTV/settingsMenu.ino:11:3: note: suggested alternative: 'Serial'
   SerialUSB.print("Opening IRCodes.txt.. ");
   ^~~~~~~~~
   Serial
/Users/patrick/Downloads/TinyTV/settingsMenu.ino: In function 'void readSettings()':
settingsMenu:141:3: error: 'SerialUSB' was not declared in this scope
   SerialUSB.print("Opening Settings.txt.. ");
   ^~~~~~~~~
/Users/patrick/Downloads/TinyTV/settingsMenu.ino:141:3: note: suggested alternative: 'Serial'
   SerialUSB.print("Opening Settings.txt.. ");
   ^~~~~~~~~
   Serial
In file included from /Users/patrick/Downloads/TinyTV/videoPlayer.ino:33:0:
/Users/patrick/Downloads/TinyTV/videoPlayerEffects.h: In function 'void showStaticEffect()':
videoPlayerEffects.h:98:27: error: 'SysTick' was not declared in this scope
     uint8_t currentRand = SysTick->VAL;
                           ^~~~~~~
/Users/patrick/Downloads/TinyTV/videoPlayerEffects.h: In function 'void tinyTVtubeOff()':
videoPlayerEffects.h:188:33: error: 'SysTick' was not declared in this scope
           uint8_t currentRand = SysTick->VAL;
                                 ^~~~~~~
videoPlayerEffects.h:211:35: error: 'SysTick' was not declared in this scope
             uint8_t currentRand = SysTick->VAL;
                                   ^~~~~~~
/Users/patrick/Downloads/TinyTV/videoPlayer.ino: In function 'void playVideo()':
videoPlayer:194:59: error: 'SysTick' was not declared in this scope
           audioBuffer2[i] += (int8_t)((uint8_t)(((uint8_t)SysTick->VAL & 0x7F) | ((uint8_t)(SysTick->VAL << 7) & 0x80))) / 2;
                                                           ^~~~~~~
videoPlayer:202:59: error: 'SysTick' was not declared in this scope
           audioBuffer1[i] += (int8_t)((uint8_t)(((uint8_t)SysTick->VAL & 0x7F) | ((uint8_t)(SysTick->VAL << 7) & 0x80))) / 2;
                                                           ^~~~~~~
exit status 1
'GCLK' was not declared in this scope


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Also, when I go under Tools > Board, there is no TinyScreen+ option ... And there is no COM##(TinyScreen+) option under port.

When I plug in the usb cable connected to the TV, I see an option under port appear /dev/cu.usbmodem1101

When I click board info I get:

BN: Unknown board
VID: 03EB
PID: 8009
SN: Upload any sketch to obtain it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.