Go to advanced search

by Crook
Sat Mar 13, 2021 5:31 pm
Forum: SDK
Topic: SD Card / SPI library for Pi Pico SDK?
Replies: 7
Views: 3083

Re: SD Card / SPI library for Pi Pico SDK?

the pico_sd_card code is SDIO only at the moment. it is not really yet in shape for prime-time unless you are feeling brave. I'm feeling brave. I compiled the pico_sd_card example and got libSD.a. Is there any code on how to use this? I just need to read bytes from a file in the root of an SD card....
by Crook
Sat Feb 27, 2021 12:25 am
Forum: General
Topic: Connecting 1.8 TFT Screen to Raspberry Pi Pico
Replies: 14
Views: 5067

Re: Connecting 1.8 TFT Screen to Raspberry Pi Pico

I've got an ssd1306 oled and ili9341 working in micropython, and the ili9341 working in c.
by Crook
Fri Feb 26, 2021 8:11 pm
Forum: SDK
Topic: Where are my files?
Replies: 23
Views: 2667

Re: Where are my files?

How have you written a file in C? The C SDK doesn't have working file-handling functions. To write files in C you need to implement a filesystem yourself, either in flash or on some external storage. Kevin. I can create a file and read it back in from the filename. It must be saving this somewhere?
by Crook
Fri Feb 26, 2021 8:05 pm
Forum: General
Topic: Accessing files via c
Replies: 1
Views: 195

Accessing files via c

Hi,

I can create files and read files via my compiled x .uf2 image. Is there any way to access these files externally, like via usb?
by Crook
Wed Feb 17, 2021 2:26 pm
Forum: General
Topic: Picoroids - an asteroids clone
Replies: 2
Views: 272

Re: Picoroids - an asteroids clone

Glad you like it :) I haven't commented most of it, just the broad strokes but there are probably some parts of it people could learn stuff from. I don't really know python all that much.
by Crook
Wed Feb 17, 2021 2:12 pm
Forum: MicroPython
Topic: SSD1306
Replies: 17
Views: 2877

Re: SSD1306

I've been experimenting with the i2c speed. It seems like the pic pico can cope with much higher?

i2c = I2C(0, scl=Pin(9), sda=Pin(8), freq=2000000)

from the default of 400,000. This significantly speeds up writing to the screen.
by Crook
Wed Feb 17, 2021 11:38 am
Forum: MicroPython
Topic: SSD1306
Replies: 17
Views: 2877

Re: SSD1306

by Crook
Wed Feb 17, 2021 10:43 am
Forum: MicroPython
Topic: SSD1306
Replies: 17
Views: 2877

Re: SSD1306

For those with an SSD1306: https://github.com/andycrook/Picoroids I've made an asteroids clone for the pico, based on a tiny ssd1306 oled display, in python. For full use you'll need 5 buttons wired to GPIO pins, but there's an autoplay mode that showcases most of the game - except entering your nam...
by Crook
Wed Feb 17, 2021 10:34 am
Forum: General
Topic: Picoroids - an asteroids clone
Replies: 2
Views: 272

Picoroids - an asteroids clone

https://github.com/andycrook/Picoroids I've made an asteroids clone for the pico, based on a tiny ssd1306 oled display, in python. For full use you'll need 5 buttons wired to GPIO pins, but there's an autoplay mode that showcases most of the game - except entering your name for a highscore. Hope you...
by Crook
Sat Jun 30, 2012 8:33 pm
Forum: Troubleshooting
Topic: Pi potentially broke my TV
Replies: 31
Views: 8586

Re: Pi potentially broke my TV

The Raspberry-Pi can not source current from the TV. If you check the schematics you will find a diode in the HDMI 5V line which prevent this. The 'pi DOES do this. You might work at broadcom, you might know the designers personally, but this simply isn't true. When my 'pi is powered OFF, I can mea...
by Crook
Wed Jun 27, 2012 1:48 pm
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

Just when I had this squeeze thing purring away too. Ahh well, time for a re-imaging I guess to keep current.
by Crook
Sat Jun 23, 2012 4:02 pm
Forum: Media centres
Topic: DDoS attack on Raspbmc -- Website down and servers down.
Replies: 22
Views: 10915

Re: DDoS attack on Raspbmc -- Website down and servers down.

I don't see it as being confusing. RASPMC_RC3.torrent as opposed to RASPMC_RC4.torrent shouldn't be too hard. But, I also agree that if he wants control and wants to distribute his software as he currently does, who are we to disagree? Although the DDOS is making that virtually impossible, it's his ...
by Crook
Sat Jun 23, 2012 11:42 am
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

Now then, do I have to do the sound deopmod thing on every reboot? Is there a way around that?
by Crook
Sat Jun 23, 2012 11:38 am
Forum: Beginners
Topic: login / startx automatically
Replies: 47
Views: 77177

Re: login / startx automatically

I want to ask a question - how is it that the line doesn't require a password to login?
by Crook
Sat Jun 23, 2012 10:24 am
Forum: Media centres
Topic: DDoS attack on Raspbmc -- Website down and servers down.
Replies: 22
Views: 10915

Re: DDoS attack on Raspbmc -- Website down and servers down.

Really odd that a DDOS is ongoing here. Could it be as pathetic as someone who didn't get their device in a timely fashion? I thought all botnet attacks were kind of large scale criminal type behaviours. They probably read the forums to gauge reaction too. You're a laughable loser :) I can wait. Tor...
by Crook
Sat Jun 23, 2012 9:35 am
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

That's very helpful. I think for certain distros that should be the default though - this being one of them. A LOT of windows only guys will be coming to the RPi and that's the kind of elemental step that people who work with linux take for granted, so never explain and becomes stumbling blocks for ...
by Crook
Fri Jun 22, 2012 8:00 pm
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

Yeah already overclocked to 900. I hope that somewhere along the line there's some kind soul who will get some kind of accelerated video going for this, although to be honest most of the games I'd want to play are already there. Pacland would be the one I want on top, and asteroids. This is a great ...
by Crook
Fri Jun 22, 2012 7:04 pm
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

Excellent, got 1942 working - no sound though. I'm new to linux - ./advmame 1942 instead of advmame 1942 works ? Is that how executables are run then? Played: 1942 puckman (pacman) Yie Ar Kung Fu Galaxians Burnin' Rubber Pacland (slowdown) I couldn't get defender to workdecoder.2 and decoder.3 NOT F...
by Crook
Fri Jun 22, 2012 10:08 am
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

Thanks for the clarification, will give it a whirl tonight. If I get 1942, defender and burnin rubber working, that's my weekend gone!
by Crook
Thu Jun 21, 2012 8:54 pm
Forum: Troubleshooting
Topic: Keyboard seems to lock up RPi
Replies: 4
Views: 1260

Re: Keyboard seems to lock up RPi

and while I'm asking, looking at the pins and solder under the board on the USB, the eight pins are only 7. The bottom right pin is missing (as you hold it upside down with the USB facing you, the HDMI socket to your right) My lower USB socket doesn't work. I've been connecting via the top one and a...
by Crook
Thu Jun 21, 2012 8:28 pm
Forum: Gaming
Topic: Advance MAME (Findings so far)
Replies: 87
Views: 69231

Re: Advance MAME (Findings so far)

I need more detail in the how to I'm afraid. Unzip MAME - to where? what is the chmod for? And shouldnt it be sudo? I got the .rc file and added the line for HDMI - where though - anywhere in the file? running "sudo advmame 1942" (the game I chose) gives sudo: advmame: command not found I ...
by Crook
Thu Jun 21, 2012 7:19 pm
Forum: Troubleshooting
Topic: Keyboard seems to lock up RPi
Replies: 4
Views: 1260

Keyboard seems to lock up RPi

With the keyboard connected, the RPi hangs at various things, on the cmd line as well as within X. unplugging the USB keyboard instantly brings the Pi back. Happens with 2 different keyboards, connected via 2 different powered hubs.

Anyone else got this?
by Crook
Thu Jun 21, 2012 10:53 am
Forum: Advanced users
Topic: I replaced the USB connector on my PI.
Replies: 38
Views: 23195

Re: I replaced the USB connector on my PI.

Hey, this is a RPi, it's all faff :)
by Crook
Wed Jun 20, 2012 10:49 pm
Forum: Advanced users
Topic: I replaced the USB connector on my PI.
Replies: 38
Views: 23195

Re: I replaced the USB connector on my PI.

I was more thinking about extension cables being used internally, so a USB Hub, HDMI extension cable, with any type of power port you want converting to a scavenged microusb connector, that kind of thing.

I did eye them up but the price was just too much to justify for myself, but I'm cheap :)
by Crook
Wed Jun 20, 2012 8:40 am
Forum: Advanced users
Topic: I replaced the USB connector on my PI.
Replies: 38
Views: 23195

Re: I replaced the USB connector on my PI.

Looks good. I'm suprised more cases aren't being done like this actually - bringing out all the connectors to a single location (prob at the back, maybe 1 USB at the front) like a small set top box.

Go to advanced search