I want to create a simple GATT Server on my Raspberry Pi Pico. The goal is to create a service that sends a simple set of data to the client. Im using the latest version of MicroPython. My Problem is, that I cant seem to figure out how I can use the MicroPython-specific bluetooth library (https://docs.micropython.org/en/latest/library/bluetooth.html), because it doesnt seem to be accesible on the Raspnerry Pi Pico. I also tried using standard python librarys like the bluez-peripheral (https://github.com/spacecheese/bluez_peripheral), but there were a lot of modules missing, that I wasnt able to install. Im open to using any other library. It would be great if someone would know how I can get these librarys running on my Pico or has any suggestions for other librarys.
Thanks in Advance
everyone, i've been trying to use Arduino IDE 1.8.12 to compile scripts into a Digispark ATTiny85 usb board from a 4GB Raspberry Pi 4 running Raspberry Pi OS.
First problem i was that when going to the IDEs board manager to install the Digistump, it gave back the "micronucleus is not available for your operating system" error. I managed to work around this by replacing the json url suggested by digistump by the one provided on the second entry of this post.
After doing so, a "compatible" version of Digistump was listed on the boards manager and was able to successfully select the Digispark board and the micronucleus programmer under the Arduino IDEs Tools dropdown menu.
This is where the second problem appeared:
As i compile the script, the Arduino IDE console returns the following message:
"
Arduino: 1.8.12 (Linux), Board: "Digispark (Default - 16.5mhz)"
Sketch uses 2788 bytes (46%) of program storage space. Maximum is 6012 bytes.
Global variables use 124 bytes of dynamic memory.
An error occurred while uploading the sketch
/home/pi/.arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher: 1: /home/pi/.arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher: Syntax error: word unexpected (expecting ")")
"
And that's as far as i could go without getting messy or going into stuff i didn't quite understand.
Now, a few considerations:
-As I said, im running raspberry pi os on a 4GB raspberry pi 4 and using Arduino IDE 1.8.12
-Also, im kind of a newbie, even though i've been coding on an arduino UNO for about a year, i've never tried any other boards, also, I got the pi on march this year and it IS my first encounter with linux based systems, I've noticed things can get really messy or complex very fast so please have patience with me :)
-This is my first stackoverflow question and even though i've read the guidelines to posting questions here, something might have escaped my attention, also, i did search for this before asking but again, maybe i didn't see the right post, if my question is either poorly detailed, already answeed elsewhere, or anyhing can be improved about it, please let me know.
thank you all in advance for the amazing community you carry upon your shoulders.
cheers from argetina
Yeti.
To anyone out there who might run into this problem, I was able to fix this by following a comment on the post linked on the question, by doing:
sudo apt install git
git clone https://github.com/micronucleus/micronucleus
cd micronucleus/commandline/
sudo apt install libusb-dev
make
cp micronucleus ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4
sudo cp 49-micronucleus.rules /etc/udev/rules.d/.
git clone https://github.com/digistump/avr-dummy
cd avr-dummy
make
cp avrdude ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher
Note: I had already done this before, but I think it didn't work because i had gotten messy with the alternatives, this option worked for me only after doing a fresh installation Arduino IDE.
Like on that arduino.cc post, I am now able to upload my payloads to the digispark with no problem what so ever.
Cheers
I am trying to install admob in my app which I built using spritekit.My os Sierra version is 10.12.3.This is my first time attempting so long story short, I inserted GoogleService-Info.plist into my project and managed to locate my project and it looks like so
"myNames"-MacBook-Pro:~ "firstandlastname"$ cd /Users/"firstlast"/Desktop/"myProject'sName"/
"myNames"-MacBook-Pro:"myProject'sName" "firstandlastname"$
my issue here is that whenever I am trying to insert pod init it gives me this error -bash: pod: command not found
Any ideas as to why? Thanks.
So after much research, I worked out my rookie mistake. I will leave this here just in case someone runs into the same issue as I did.
All I had to do was install cocoapods! There are plenty of tutorials that show you how. Again, rookie mistake of me.
Previously i was using Alfresco 5.0.d
But now i am trying to install alfresco-enterprise-5.0.2.5 on my machine.
But i am getting some errors while installing it first time.
please refer below attached image.
If any one has faced same issue or resolved it, then please help me.
Thanks in Advance.
Hi I am new to the networking domain.
I have recently bought a WLAN 11n USB adapter by a company named GMYLE.
I had difficulties setting up the same on my ubuntu environment.
The driver cd provided has instructions for installing it on ubuntu but I am finding the installation using command line really confusing.
I tried the GUI method myself.
I went to System->Administration->network tools but the device is not being listed out there?
Is there any specific reason for this?
Please help.
Is there an easier way (GUI method) which could help me in setting up the network adapter on my machine?
Any help would be sincerely appreciated.
Thanks.
While this is off-topic, here's something to help you:
The chipset the device uses is probably RTL8192cu. You can download the drivere here.
You can read about how to install it here and here.