TinyCircuits

Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: Code for kickstarter robot does not compile
« Last post by lennevia on February 27, 2020, 12:34:56 PM »
Hmm. It's possible you have an older version of the TinierScreen library too?

I have both libraries and they both have a font.h file and I am able to compile and upload the programs to a RobotZero. The only difference I see between us is my master files are just named GraphicsBuffer and TinierScreen in my library directory. You could try re-downloading the newest version of TinierScreen from the GitHub page: https://github.com/TinyCircuits/TinyCircuits-TinierScreen-Lib

Hope that helps!
2
General Discussion / Re: Code for kickstarter robot does not compile
« Last post by AlanKilian on February 27, 2020, 09:38:42 AM »
The line follower sketch still does not compile using the latest graphics lib you linked to.

I think I need to delete one or more of the libraried I have installed to get the right font.h.

Here's what I have in my libraries folder:
Code: [Select]
02/27/2020  09:23 AM    <DIR>          TinyCircuits-GraphicsBuffer-Lib-master
02/23/2020  12:05 PM    <DIR>          TinyCircuits-TinierScreen_Lib-master
02/24/2020  12:55 PM    <DIR>          TinyCircuits-TinyScreen_Lib-master
02/23/2020  12:18 PM    <DIR>          TinyCircuits-TinyShield_Motor_Library-master
02/23/2020  12:01 PM    <DIR>          TinyCircuits-Wireling-Lib-master]

Code: [Select]
Arduino: 1.8.12 (Windows 10), Board: "RobotZero, Default"

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\kilian\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\kilian\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\kilian\Documents\Arduino\libraries -fqbn=TinyCircuits:samd:robotzero:BuildOption=normal -ide-version=10812 -build-path C:\Users\kilian\AppData\Local\Temp\arduino_build_87170 -warnings=none -build-cache C:\Users\kilian\AppData\Local\Temp\arduino_cache_273217 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.CMSIS.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.bossac.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -verbose C:\Users\kilian\Downloads\LineFollower\LineFollower\LineFollower.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\kilian\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\kilian\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\kilian\Documents\Arduino\libraries -fqbn=TinyCircuits:samd:robotzero:BuildOption=normal -ide-version=10812 -build-path C:\Users\kilian\AppData\Local\Temp\arduino_build_87170 -warnings=none -build-cache C:\Users\kilian\AppData\Local\Temp\arduino_cache_273217 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.openocd.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.CMSIS.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.bossac.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\kilian\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -verbose C:\Users\kilian\Downloads\LineFollower\LineFollower\LineFollower.ino
Using board 'robotzero' from platform in folder: C:\Users\kilian\AppData\Local\Arduino15\packages\TinyCircuits\hardware\samd\1.1.0
Using core 'arduino' from platform in folder: C:\Users\kilian\AppData\Local\Arduino15\packages\TinyCircuits\hardware\samd\1.1.0
Detecting libraries used...
"C:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON "-DUSB_MANUFACTURER=\"TinyCircuits\"" "-DUSB_PRODUCT=\"RobotZero\"" -DUSBCON "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\cores\\arduino" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\variants\\robotzero" "C:\\Users\\kilian\\AppData\\Local\\Temp\\arduino_build_87170\\sketch\\LineFollower.ino.cpp" -o nul
Alternatives for font.h: [TinyCircuits-GraphicsBuffer-Lib-master@1.1.0 TinyCircuits-TinyScreen_Lib-master@1.1.0 TinyCircuits-TinierScreen_Lib-master@1.1.0]
ResolveLibrary(font.h)
  -> candidates: [TinyCircuits-GraphicsBuffer-Lib-master@1.1.0 TinyCircuits-TinyScreen_Lib-master@1.1.0 TinyCircuits-TinierScreen_Lib-master@1.1.0]
"C:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON "-DUSB_MANUFACTURER=\"TinyCircuits\"" "-DUSB_PRODUCT=\"RobotZero\"" -DUSBCON "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\cores\\arduino" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\variants\\robotzero" "-IC:\\Users\\kilian\\Documents\\Arduino\\libraries\\TinyCircuits-GraphicsBuffer-Lib-master" "C:\\Users\\kilian\\AppData\\Local\\Temp\\arduino_build_87170\\sketch\\LineFollower.ino.cpp" -o nul

<many lines removed>

Compiling sketch...
Using previously compiled file: C:\Users\kilian\AppData\Local\Temp\arduino_build_87170\sketch\Adafruit_TCS34725.cpp.o
"C:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10812 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON "-DUSB_MANUFACTURER=\"TinyCircuits\"" "-DUSB_PRODUCT=\"RobotZero\"" -DUSBCON "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\cores\\arduino" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\variants\\robotzero" "-IC:\\Users\\kilian\\Documents\\Arduino\\libraries\\TinyCircuits-GraphicsBuffer-Lib-master" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\libraries\\Wire" "-IC:\\Users\\kilian\\Documents\\Arduino\\libraries\\TinyCircuits-Wireling-Lib-master" "-IC:\\Users\\kilian\\Documents\\Arduino\\libraries\\TinyCircuits-TinyShield_Motor_Library-master" "-IC:\\Users\\kilian\\AppData\\Local\\Arduino15\\packages\\TinyCircuits\\hardware\\samd\\1.1.0\\libraries\\SPI" "-IC:\\Users\\kilian\\Documents\\Arduino\\libraries\\TinyCircuits-TinierScreen_Lib-master" "C:\\Users\\kilian\\AppData\\Local\\Temp\\arduino_build_87170\\sketch\\LineFollower.ino.cpp" -o "C:\\Users\\kilian\\AppData\\Local\\Temp\\arduino_build_87170\\sketch\\LineFollower.ino.cpp.o"
Using previously compiled file: C:\Users\kilian\AppData\Local\Temp\arduino_build_87170\sketch\VL53L0X.cpp.o
In file included from C:\Users\kilian\Downloads\LineFollower\LineFollower\LineFollower.ino:1:0:

C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-GraphicsBuffer-Lib-master/font.h:754:14: error: 'FONT_CHAR_INFO' does not name a type

 static const FONT_CHAR_INFO PROGMEM liberationSans_8ptDescriptors[] =

              ^~~~~~~~~~~~~~

C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-GraphicsBuffer-Lib-master/font.h:854:14: error: 'FONT_INFO' does not name a type; did you mean 'PORT_IN_IN'?

 static const FONT_INFO liberationSans_8ptFontInfo =

              ^~~~~~~~~

              PORT_IN_IN

C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-GraphicsBuffer-Lib-master/font.h:1684:14: error: 'FONT_CHAR_INFO' does not name a type

 static const FONT_CHAR_INFO PROGMEM liberationSans_10ptDescriptors[] =

              ^~~~~~~~~~~~~~

<Many lines removed>

Multiple libraries were found for "font.h"
 Used: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-GraphicsBuffer-Lib-master
 Not used: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-TinyScreen_Lib-master
 Not used: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-TinierScreen_Lib-master
Using library TinyCircuits-GraphicsBuffer-Lib-master at version 1.1.0 in folder: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-GraphicsBuffer-Lib-master
Using library Wire at version 1.0 in folder: C:\Users\kilian\AppData\Local\Arduino15\packages\TinyCircuits\hardware\samd\1.1.0\libraries\Wire
Using library TinyCircuits-Wireling-Lib-master at version 0.1.0 in folder: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-Wireling-Lib-master
Using library TinyCircuits-TinyShield_Motor_Library-master in folder: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-TinyShield_Motor_Library-master (legacy)
Using library SPI at version 1.0 in folder: C:\Users\kilian\AppData\Local\Arduino15\packages\TinyCircuits\hardware\samd\1.1.0\libraries\SPI
Using library TinyCircuits-TinierScreen_Lib-master at version 1.1.0 in folder: C:\Users\kilian\Documents\Arduino\libraries\TinyCircuits-TinierScreen_Lib-master
exit status 1
Error compiling for board RobotZero.
3
General Discussion / Re: Where is the code for the premium robot kit?
« Last post by lennevia on February 25, 2020, 07:22:09 PM »
It took a while to get into a publishable format - so thank you for your patience!

It is now available from the Learn Page: https://learn.tinycircuits.com/Wirelings/Wireling_Premium_Robot_Kit_Tutorial/

Or you can directly download the zip folder here: https://github.com/TinyCircuits/TinyCircuits-Wireling-Kickstarter-Kits/raw/master/Premium-Robot-Kit/examples/RobotArmExample.zip

Best,

Réna
4
General Discussion / Re: Code for kickstarter robot does not compile
« Last post by lennevia on February 25, 2020, 12:43:59 PM »
Hello!

It looks like you need the most updated version of the GraphicsBuffer library: https://github.com/TinyCircuits/TinyCircuits-GraphicsBuffer-Lib
5
General Discussion / Where is the code for the premium robot kit?
« Last post by AlanKilian on February 24, 2020, 12:59:55 PM »
The GitHub repository has a folder, but no code.
The assembly PDF does not have a link.
The learning TinyCircuits sire does not have a link.
6
General Discussion / Code for kickstarter robot does not compile
« Last post by AlanKilian on February 24, 2020, 12:45:23 PM »
Using Arduino 1.8.12 and the code from this link
https://learn.tinycircuits.com/Wirelings/Wireling_Basic-Robot_Kit_Tutorial/

I get the following error message:
Code: [Select]
Arduino: 1.8.12 (Windows 10), Board: "RobotZero, Default"

C:\Users\kilian\Downloads\LineFollower\LineFollower\LineFollower.ino: In function 'void displayGraph(int, int, int, int, int, int, int*, int)':

LineFollower:257:16: error: 'class GraphicsBuffer' has no member named 'drawLine'; did you mean 'drawPixel'?

   screenBuffer.drawLine(xDispPos, yDispPos, xDispPos + width, yDispPos, 0xFFFF);

                ^~~~~~~~

                drawPixel

LineFollower:258:16: error: 'class GraphicsBuffer' has no member named 'drawLine'; did you mean 'drawPixel'?

   screenBuffer.drawLine(xDispPos, yDispPos, xDispPos, yDispPos + height, 0xFFFF);

                ^~~~~~~~

                drawPixel

LineFollower:259:16: error: 'class GraphicsBuffer' has no member named 'drawLine'; did you mean 'drawPixel'?

   screenBuffer.drawLine(xDispPos + width, yDispPos, xDispPos + width, yDispPos + height, 0xFFFF);

                ^~~~~~~~

                drawPixel

LineFollower:260:16: error: 'class GraphicsBuffer' has no member named 'drawLine'; did you mean 'drawPixel'?

   screenBuffer.drawLine(xDispPos, yDispPos + height, xDispPos + height, yDispPos + height, 0xFFFF);

                ^~~~~~~~

                drawPixel

LineFollower:265:18: error: 'class GraphicsBuffer' has no member named 'drawLine'; did you mean 'drawPixel'?

     screenBuffer.drawLine(xDispPos + i - 1, yDispPos + height - sample0, xDispPos + i, yDispPos + height - sample, 0xFFFF);

                  ^~~~~~~~

                  drawPixel

exit status 1
'class GraphicsBuffer' has no member named 'drawLine'; did you mean 'drawPixel'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
7
New Product Ideas / RJ11 Wireling
« Last post by PioneeringStar on February 19, 2020, 02:50:28 PM »
Just an idea. Many weather stations use RJ11 connectors for their wind and rain sensors. It would be cool to have an RJ11 connector on the end of a wireling cable for connecting to these sensors.

:)
8
General Discussion / Re: Wireling Connectors
« Last post by jgavlik on February 19, 2020, 02:02:57 PM »
Please do...thanks...john
9
General Discussion / Re: Wireling Connectors
« Last post by lennevia on February 19, 2020, 01:39:39 PM »
Hello John,

We'll look into it, but we are not aware of anything like that for now!

Thanks,

Réna
10
General Discussion / Wireling Connectors
« Last post by jgavlik on February 19, 2020, 12:16:47 PM »
Is there a "PC mate" connector (female) to the 5-pin (male) Wireling connector - one that will allow a Wireling module with the 5-pin male connector to plug directly into a PCB without a cable?

Thanks,

John
Pages: [1] 2 3 ... 10