Bamse, I'm really no good at doin sound effects besides, It'd have to wait til I get PropGFX out, as I wanna finish that now, as Coley already has a first batch of them ready to go out the door [noparse]:)[/noparse]
Baggers, sorry about that, didn't read your post correctly...
OBC,
I changed my code to this, hopefully you should be able to just uncomment the settings and recompile...
' Set up the processor clock in the standard way for 80MHz on HYDRA
' You will want to edit this to reflect your clock setup
' Also necessary is editing the pin definitions, and that's done in the driver itself.
_CLKMODE = xtal1 + pll8x
_XINFREQ = 10_000_000 + 0000
SOUND_PIN = 7 ' Pin used for sound effects, pin 7 on the Hydra
VCFG_PINGROUP = 3 ' Pingroup for video output, 3 on the Hydra
VCFG_PINS = %0000_0111<<24 ' The actual pins used to generate the video signal, bit 24 to 26 on the Hydra
' Use these settings for Demoboard/Protoboard
{{
_CLKMODE = xtal1 + pll16x
_XINFREQ = 5_000_000 + 0000
SOUND_PIN = 10 ' Pin used for sound effects, pin 10 on the DemoBoard
VCFG_PINGROUP = 1 ' Pingroup for video output, 1 on the DemoBoard
VCFG_PINS = %0000_0111<<12 ' The actual pins used to generate the video signal, bit 12 to 14 on the DemoBoard
}}
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
no worries Bamse [noparse]:)[/noparse] still very honoured though [noparse];)[/noparse]
'{ ' A comment at the beginning of this line signifies that his block is uncommented :) or uncomment it, to comment the block :) if you see what I mean
' Set up the processor clock in the standard way for 80MHz on HYDRA
' You will want to edit this to reflect your clock setup
' Also necessary is editing the pin definitions, and that's done in the driver itself.
_CLKMODE = xtal1 + pll8x
_XINFREQ = 10_000_000 + 0000
SOUND_PIN = 7 ' Pin used for sound effects, pin 7 on the Hydra
VCFG_PINGROUP = 3 ' Pingroup for video output, 3 on the Hydra
VCFG_PINS = %0000_0111<<24 ' The actual pins used to generate the video signal, bit 24 to 26 on the Hydra
'}
{ ' A comment at the beginning of this line signifies that his block is uncommented :) or uncomment it, to comment the block :) if you see what I mean
' Set up for 96MHz on HYBRID
_CLKMODE = xtal1 + pll16x
_XINFREQ = 6_000_000 + 0000
SOUND_PIN = 7 ' Pin used for sound effects, pin 7 on the Hybrid
VCFG_PINGROUP = 3 ' Pingroup for video output, 3 on the Hybrid
VCFG_PINS = %0000_0111<<24 ' The actual pins used to generate the video signal, bit 24 to 26 on the Hybrid
'}
{ ' A comment at the beginning of this line signifies that his block is uncommented :) or uncomment it, to comment the block :) if you see what I mean
' Use these settings for Demoboard/Protoboard
_CLKMODE = xtal1 + pll16x
_XINFREQ = 5_000_000 + 0000
SOUND_PIN = 10 ' Pin used for sound effects, pin 10 on the DemoBoard
VCFG_PINGROUP = 1 ' Pingroup for video output, 1 on the DemoBoard
VCFG_PINS = %0000_0111<<12 ' The actual pins used to generate the video signal, bit 12 to 14 on the DemoBoard
'}
Oh and Bamse, if you use the setup section I've put in the code section then people can just comment/uncomment the first { in the specific sections, and the '} take care of themselves [noparse]:)[/noparse]
Comments
Did you see my edits for both
' Baseband video on bottom nibble, 2-bit color, enable chroma on baseband
and
' Two color mode, same as 1 bit mode. ?
Will test in the morning
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
OBC,
I changed my code to this, hopefully you should be able to just uncomment the settings and recompile...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
Oh and Bamse, if you use the setup section I've put in the code section then people can just comment/uncomment the first { in the specific sections, and the '} take care of themselves [noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Return later to see if I can figure it out.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.