Hi!
I am a tootal n00b om programming. I just installed the WEBIde on a fresh Raspbian installation, which was straight forward.
But there is something amiss.. I was going to download and install the libraries for the Trinket.
It is described that the files is to be placed in the sketchbook folder, which should be auto created at install. And it is usualy found under /home/<user>/
But there is nothing there. Infact, there is no sketchbook at all on the whole system...
what am i doing wrong?
/Rikard
Missing sketchbook in Webide on Raspian
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Missing sketchbook in Webide on Raspian
Check and see if it exists at /home/webide/repositiories
- rikjoh
- Posts: 40
- Joined: Wed Jun 11, 2014 2:50 am
Re: Missing sketchbook in Webide on Raspian
If i search the entite filesystem i find no sketchbook at all.
The closest i come to anywhere where Adafruit_ADS1x15 and similar folders are places is in
"/usr/share/adafruit/webide/repositories/Adafruit-Raspberry-Pi-Python-Code"
There IS a webide USER account and home.¨
pi@microserver ~ $ ls /home/webide/
repositories
pi@microserver ~ $ ls /home/webide/repositories
Adafruit-Raspberry-Pi-Python-Code my-pi-projects
pi@microserver ~ $ ls /home/webide/repositories/Adafruit-Raspberry-Pi-Python-Code/
Adafruit_ADS1x15 Adafruit_CharLCD Adafruit_DHT_Driver_Python Adafruit_LEDpixels Adafruit_MCP3002 Adafruit_PWM_Servo_Driver README.md
Adafruit_ADXL345 Adafruit_CharLCDPlate Adafruit_I2C Adafruit_LSM303 Adafruit_MCP3008 Adafruit_TCS34725
Adafruit_BMP085 Adafruit_DHT_Driver Adafruit_LEDBackpack Adafruit_MCP230xx Adafruit_MCP4725 Adafruit_VCNL4000
pi@microserver ~ $
So either there is something wrong with my installation.
(I did it twice, on two clean SD cards from scratch)
Or i start to hand hack and invent the wheel agaian to make a sketchbook folder.
But i have no idea on where to put it, where to point it and what is supposed to be in it...
The closest i come to anywhere where Adafruit_ADS1x15 and similar folders are places is in
"/usr/share/adafruit/webide/repositories/Adafruit-Raspberry-Pi-Python-Code"
There IS a webide USER account and home.¨
pi@microserver ~ $ ls /home/webide/
repositories
pi@microserver ~ $ ls /home/webide/repositories
Adafruit-Raspberry-Pi-Python-Code my-pi-projects
pi@microserver ~ $ ls /home/webide/repositories/Adafruit-Raspberry-Pi-Python-Code/
Adafruit_ADS1x15 Adafruit_CharLCD Adafruit_DHT_Driver_Python Adafruit_LEDpixels Adafruit_MCP3002 Adafruit_PWM_Servo_Driver README.md
Adafruit_ADXL345 Adafruit_CharLCDPlate Adafruit_I2C Adafruit_LSM303 Adafruit_MCP3008 Adafruit_TCS34725
Adafruit_BMP085 Adafruit_DHT_Driver Adafruit_LEDBackpack Adafruit_MCP230xx Adafruit_MCP4725 Adafruit_VCNL4000
pi@microserver ~ $
So either there is something wrong with my installation.
(I did it twice, on two clean SD cards from scratch)
Or i start to hand hack and invent the wheel agaian to make a sketchbook folder.
But i have no idea on where to put it, where to point it and what is supposed to be in it...
- adafruit_support_mike
- Posts: 67485
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Missing sketchbook in Webide on Raspian
Ah.. on rereading your original post, I think I see the source of confusion:
WebIDE is a RasPi programming environment, not an Arduino programming environment. There's no sketchbook where you can upload Trinket libraries because WebIDE doesn't know how to talk to a Trinket (or any Arduino/external microcontroller).
If you want to program the Trinket or an Arduino from the RasPi, you use the same Arduino IDE as always.
WebIDE is a RasPi programming environment, not an Arduino programming environment. There's no sketchbook where you can upload Trinket libraries because WebIDE doesn't know how to talk to a Trinket (or any Arduino/external microcontroller).
If you want to program the Trinket or an Arduino from the RasPi, you use the same Arduino IDE as always.
Please be positive and constructive with your questions and comments.