parallaxinc / BlocklyProp

Blockly based visual programming editor for Propeller C
MIT License
44 stars 25 forks source link

Add devices to S3 hacker port menu #1071

Open CarolHazlett opened 7 years ago

CarolHazlett commented 7 years ago

Is it possible to move blocks to another menu? I would like to see an RGB LED block in the Scribbler menu so I could program one to run in the hacker port. That way I could make custom colored patterns using timed photography and have some control over the brightness of the LED for the light graphics you have seen me do with the S2 and S3. Since the Scribbler is in C now wouldn't it be possible? img_1912

MatzElectronics commented 7 years ago

I'm genericizing this a bit - We could move a few different blocks/sensors/outputs to the hacker port menu. I'm thinking GPS, IMU, Serial Protocol, and RGB LED are all good candidates if there is enough memory to support them.

MatzElectronics commented 7 years ago

@CarolHazlett @wstodghill @kgracey @CarsonGracey Would any of you be willing to try seeing what works here? Try this: start with a C project that uses the devices you'd like to try - grab all of the blocks for that device and disable the ones you don't use (just make sure they are all on your workspace). Download the blocks file. Then create a new S3 project and upload->append your project with the desired devices. This is a way to bring in blocks that aren't available in the menu but are for other board types. I've not tried this myself but it should in theory work. That way we can test things to see if there is still enough memory for them to run before we add them to the hacker port menu.

See my previous comment for possible devices. Let me know how it goes. Thanks!

MatzElectronics commented 6 years ago

@CarolHazlett Any luck getting any of these to work?