Go to advanced search

by ghp
Tue Mar 04, 2014 6:05 pm
Forum: Scratch
Topic: size of full screen option
Replies: 4
Views: 3043

Re: size of full screen option

Hello, full screen aka presentation mode is in size 960*720 px, which is double the size of the stage. The display is quite pixel-style then. Think the only way to have full screen is to set the screen display resolution to this size. Be careful, on top of the displayed stage is the flag button, sto...
by ghp
Fri Feb 28, 2014 6:30 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

For the "middle click on block": Wanted to 'print script as image', which is usually right mouse. Currently, I need to use middle mouse for all this context things. And my description is not precise enough: 'context click' on a hat. click_hat.gif For the performance: both scratch versions 1.4 and re...
by ghp
Fri Feb 28, 2014 6:12 pm
Forum: Python
Topic: Help with spidev script that interfaces with rotary decoder
Replies: 9
Views: 4999

Re: Help with spidev script that interfaces with rotary deco

Hello, there are many possible sources of trouble. - reduce spi.maxspeed for testing. use 100.000. Just in case wires are long. - check power supply of the external board. Capacitors could be needed. - the code spi.xfer2(READ_COUNTER) for i in range(counterSize): data = spi.xfer2([0x00]) EncoderCoun...
by ghp
Fri Feb 28, 2014 5:02 pm
Forum: Beginners
Topic: Impossible to run a web server
Replies: 10
Views: 2467

Re: Impossible to run a web server

Hello, when I install apache, I usually do not worry about rights. I just works out of the box. If you get the 'it works'-screen from apache, all necessary rights are there. Of course, when using apache in an unfriendly environment as the internet, you should worry. But most probably, you will not u...
by ghp
Fri Feb 28, 2014 4:48 pm
Forum: Scratch
Topic: Scratch to hardware API: call for discussions
Replies: 55
Views: 17141

Re: Scratch to hardware API: call for discussions

Hello, this explanation makes it clearer on what people think of with these extensions. Most of the discussions so far have been about what people don't want (e.g. go away from scratch standard). Maybe it would be useful to step back and before talking about implementations to collect the user group...
by ghp
Fri Feb 28, 2014 3:26 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

continued Test: place blocks somewhere. Drag a script to snap in top of (here red blocks). When snapped in, the red blocks are not correctly displayed. When dragging away the blocks from the hats, the red blocks reappear. prepare_to_snap.png and_snapped.png The screenshots are taken with blocks clos...
by ghp
Fri Feb 28, 2014 2:44 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

Hello, speed of editing is really nice now. Unfortunately there are a few flaws. Test: C-Blocks: build a script (two blocls) add hat (green flag). Drag 'forever around this. I found this working, but in some cases some pixels remained undeleted on the screen. graphics_cleanup.png This happens when y...
by ghp
Wed Feb 26, 2014 8:58 pm
Forum: Scratch
Topic: getting new pictures into scrach
Replies: 3
Views: 1680

Re: getting new pictures into scrach

Hello,

(1) be sure the image is free to use.
(2) open browser on pi, view image, rightclick on image and 'save image'
(3) open scratch, in an object (say the cat) open costume tab
(4) use 'import'
(5) end of procedure.

Hope it works for you.

Regards,
Gerhard
by ghp
Wed Feb 26, 2014 8:23 pm
Forum: Scratch
Topic: Scratch to hardware API: call for discussions
Replies: 55
Views: 17141

Re: Scratch to hardware API: call for discussions

Hello, difficult discussion. But useful. Think there will be people asking for bit banging from scratch to GPIO (and only the support of board XYZ is the future), and others (like me) asking for a clear definition of architecture. Current situation is we have scratch 1.4 on RPi, and same version 1.4...
by ghp
Sat Feb 22, 2014 8:45 pm
Forum: Scratch
Topic: example scratch projects .sb not .sb2
Replies: 5
Views: 4722

Re: example scratch projects .sb not .sb2

Hello, there are two scratch versions around. The current MIT-Version from scratch.mit.edu is Version 2, based on Flash and not running on RPi. The version on the RPi is Version 1.4. This version is based on smalltalk, squeak. Version 2 has file extension .sb2 Version 1.4 has file extension .sb 1.4-...
by ghp
Sat Feb 22, 2014 9:28 am
Forum: Scratch
Topic: NuScratch: Does your system lock-up when sounds are used?
Replies: 6
Views: 3406

Re: NuScratch: Does your system lock-up when sounds are used

Hello Tim,

found system freezes with scratch-rasp-rel3 on various sd-cards.
But found freezes also (see bug list thread) on scratch-rasp-1.4 for some use cases. Occurred also on fresh cards.

regards,
Gerhard
by ghp
Sat Feb 22, 2014 12:55 am
Forum: Scratch
Topic: STICKY: Bugs and regressions
Replies: 41
Views: 52105

Re: Bugs and regressions

Hello, system freeze when using multiple sounds and stopping sounds. Version is raspbian scratch. Difficult to reproduce. The application plays two sounds; now and then the app 'stop all sounds'. Happened quite often on one system of six, the only difference in the scratch app was the usage of sound...
by ghp
Wed Feb 19, 2014 11:14 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

Hello Tim,

you are right: pixels are the same. Proof:
blocks.png
blocks.png (5.68 KiB) Viewed 4340 times
Right side: scratch_rasp_1.4, left is scratch_rasp_rel3.

Sorry for the late response. My daytime job keeps me busy, and at night I optimized some of the kids scratch projects.
Regards,
Gerhard
by ghp
Sat Feb 15, 2014 9:53 am
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

Hello, some compatibility testing. Project created on windows with 1.4. Moved to raspberry, runs in rasp-scratch 1.4 and rasp-scratch-rel3. opened in rasp-scratch-1.4, saved, open in rasp-scratch-rel3 and 'reading' stays there for ever or till my next power bill is arriving or I 'ctrl-C' NuScratch3....
by ghp
Wed Feb 12, 2014 8:44 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

Let me add another minor observation: 2014-02-12-213304_1920x1080_scrot.png You see the comment boxes, top scratch 1.4, bottom rel3. The problem is the small rect top right. Regards, Gerhard I have to stop testing now. Next week a new school workshop is starting, and the training materials need some...
by ghp
Tue Feb 11, 2014 8:15 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

Hello, testcase: forever loop enlarges as needed to embrace blocks. drag two blocks to script area and connect. drag 'forever' block towards the two blocks. Lower half is disappearing. 2014-02-11-204237_1920x1080_scrot.png When dragging the blocks out, the system stops. testcase: snap in range have ...
by ghp
Mon Feb 10, 2014 8:04 pm
Forum: Scratch
Topic: [Solved] high cpu usage in edit mode
Replies: 2
Views: 1479

Re: [Solved] high cpu usage in edit mode

Hello, in the workshop, the task is to build a computer game, and to control it by a hand made 'controller'. Most teams have 2 potentiometer and a botton build in a box, and the adapter board plus python scratchClient is sending the values to scratch. In most games, the xPoti and yPoti control some ...
by ghp
Fri Feb 07, 2014 6:49 pm
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

@ joan

Hello,

I will have a look, thank you.

Gerhard
by ghp
Fri Feb 07, 2014 3:38 pm
Forum: Scratch
Topic: [Solved] high cpu usage in edit mode
Replies: 2
Views: 1479

[Solved] high cpu usage in edit mode

Hello, in my school workshop, there was one machine today where squeak used almost all CPU time, but in edit mode and only for one object. When switching to another objects script, cpu decreased to usual 25%. All scripts have been stopped (red button). The other background processes used some 2 to 5...
by ghp
Mon Feb 03, 2014 6:51 am
Forum: Scratch
Topic: [SOLVED]scratchGPIO & PIringo :pin26 GPIO7& wait not working
Replies: 7
Views: 2428

Re: scratchGPIO & PIringo :pin26 GPIO7 & wait not working

Hello, for logging in python, there is a build in 'logger' package which does almost everything needed. If you print out the broadcast events from scratch, you will be able to identify the problems in your setup. I wanted to see the scratch code, as I could not see the 'reset' of the led-variables. ...
by ghp
Sun Feb 02, 2014 8:22 am
Forum: Scratch
Topic: [SOLVED]scratchGPIO & PIringo :pin26 GPIO7& wait not working
Replies: 7
Views: 2428

Re: scratchGPIO & PIringo :pin26 GPIO7 & wait not working

Hello, so far I did not experience problems when developing scratch on windows (1.4, of course) and running it on Pi. The pseudocode looks good, but what I miss is the place where the led-variables are reset. If you have executed the code once, the led-variables are already '1' and you will not see ...
by ghp
Sat Feb 01, 2014 10:05 am
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

Hello, some remarks on NuScratch-rel2. This is not a 'full test', just some observations. Editing values in boxes - as already mentioned, there is no cursor visible. But editing is basically working. Dragging boxes into a forever loop - worked most times. One time I lost this box (not showing up ins...
by ghp
Fri Jan 31, 2014 8:17 am
Forum: Advanced users
Topic: GPIO Simple Button
Replies: 3
Views: 1125

Re: GPIO Simple Button

Hello, an input range up to 3.3 V will not harm the PI, but it is generally a good idea to have a series resistor of 1k with a button. This is just a precaution in case the GPIO pin is configured as an output. Personally I prefer to have buttons from GPIO to series resistor to ground. Do not forget ...
by ghp
Thu Jan 30, 2014 9:42 pm
Forum: Advanced users
Topic: automated test tool "sikuli" on pi ?
Replies: 0
Views: 1185

automated test tool "sikuli" on pi ?

Hello, I am looking for an automated test tool which allows for recording mouse and keyboard events (and playback, of course. And it should run on raspbian, lxde desktop. Want to build a test suite for a tool, where I found problems after quite long time of usage. In order to repeat the situation, I...
by ghp
Wed Jan 29, 2014 5:10 am
Forum: Scratch
Topic: A new Scratch; pre-alpha-this-will-hurt release
Replies: 91
Views: 31243

Re: A new Scratch; pre-alpha-this-will-hurt release

New release out, and unfortunateley I have no spare time till the weekend. I will post feedback then.

Go to advanced search