Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - semiprocoder

#31
I've had this issue too, and although I know absolutely nothing about it, what I can say is that rebooting my physical nspire(tiny blue button on the back) often helped with it showing up.
#32
Hardware / Re: Semiprocoder's Pebble Stuff
August 08, 2016, 02:01:53 PM
I know that you can make a pebble account for free, which grants you access to the online sdk, cloudpebble. It has an emulator for each kind of pebble. However(because it is web based or something), it is much slower that the actual pebble, which pong playing at like 5 fps(as opposed to smoothly on my pebble).
#33
Hardware / Semiprocoder's Pebble Stuff
August 08, 2016, 12:37:37 AM
I just recently bought myself a pebble time. The battery life(for me) wasn't seven days(it was ~3), but I was using it a lot.
Since the pebble has a really neat sdk, I just finished my first project(pong) after perhaps a day or two of learning the sdk. I suspect that uploading and playing my game quite often wasn't good for battery life.
Anyways, does anyone else here have a pebble, and do you program it?

Here are my published pebble projects(will be updated once I make more):
https://apps.getpebble.com/applications/57a77b4022f5994a8f000af7
#34
I have windows 10 on my laptop and its pretty good. It doesnt seem to have really any performance difference and it offers dx 12, which is good.
Not sure about being better than windows 7,but its obviously better than windows 8.

However, windows update is glitched on my desktop, so the windows 10 update has been stuck at "starting download" for like 2 days now(also windows update is taking a day to check updates, so I assume that all of windows update is glitched). My desktop currently has windows 7(so not horrible like win 8), but dx 12 is(at least currently) available only for windows 10, so that sucks.
#35
Heres the gist of my desktop PC specs(all of which except for the SSD were bought sometime in 2013):

CPU: amd fx 8320, sometimes overclocked to 4 ghz to match the stock 8350
GPU: Sapphire HD 7950(radeon)
Motherboard: dont remember
RAM: 8 gb ddr3 clocked at 1600 mhz
Storage: 128 gb SSD for OS and 2 tb drive for everything else
Case: something cheap from Asus
PSU: 650 watt semi modular 80+ bronze
#36
I havent programmed for a while, so I decided to program another game: minesweeper. Another minesweeper game already exists, but it only supports 9x9 boards(I think), and it doesnt have any settings.

Thus here is the minesweeper I have made(temporarily called nSweeper). I have almost finished it. It is just missing a better gui for the game, a readme, and saving the games properly(so that you could open the game again and keep the games, as it only keeps the games in RAM as of right now).
#37
Quote from: Adriweb on April 18, 2016, 02:32:40 AM
nice :)
You should post code/photos/whatever :)
Well, this isnt really that good wiring, but anyways, here is a pic. It uses the same nspire code as was in the download for the example(without drawing the C for Celsius). Lastly, the arduino sends over a potentiometer analogRead value.
#38
Well, I got my micro back,  and I am happy to report that it now communicates with my nspire!
#39
Alright yeah I will probably change the colors and make it easier to see the score. I will edit the original post once I update the game.
#40
You crash if you hit walls, meaning you cant pass through them.
#41
I havent really been active here for a while, so I just decided to post a small project I made just for fun, but wasn't going to release(as there are multiple other snake games already available). However, I decided to release it anyways(because why not?). Anyways, attached are the game and a gif of it.
#42
Sam wasnt available in arduino 1.6.5(the one I used previously). Thus I installed 1.5.6, and it did have the sam folder in arduino. Thus I changed boards.txt to:


arduino_due_x_dbg.name=Arduino Due (Programming Port)
arduino_due_x_dbg.vid.0=0x0451
arduino_due_x_dbg.pid.0=0xBEF3
arduino_due_x_dbg.upload.tool=bossac
arduino_due_x_dbg.upload.protocol=sam-ba
arduino_due_x_dbg.upload.maximum_size=524288
arduino_due_x_dbg.upload.use_1200bps_touch=true
arduino_due_x_dbg.upload.wait_for_upload_port=false
arduino_due_x_dbg.upload.native_usb=false
arduino_due_x_dbg.build.mcu=cortex-m3
arduino_due_x_dbg.build.f_cpu=84000000L
arduino_due_x_dbg.build.usb_product="Arduino Due"
arduino_due_x_dbg.build.board=SAM_DUE
arduino_due_x_dbg.build.core=arduino
arduino_due_x_dbg.build.extra_flags=-D__SAM3X8E__ -mthumb {build.usb_flags}
arduino_due_x_dbg.build.ldscript=linker_scripts/gcc/flash.ld
arduino_due_x_dbg.build.variant=arduino_due_x
arduino_due_x_dbg.build.variant_system_lib=libsam_sam3x8e_gcc_rel.a
arduino_due_x_dbg.build.vid=0x0451
arduino_due_x_dbg.build.pid=0xBEF3

arduino_due_x.name=Arduino Due (Native USB Port)
arduino_due_x.vid.0=0x0451
arduino_due_x.pid.0=0xBEF3
arduino_due_x.upload.tool=bossac
arduino_due_x.upload.protocol=sam-ba
arduino_due_x.upload.maximum_size=524288
arduino_due_x.upload.use_1200bps_touch=true
arduino_due_x.upload.wait_for_upload_port=true
arduino_due_x.upload.native_usb=true
arduino_due_x.build.mcu=cortex-m3
arduino_due_x.build.f_cpu=84000000L
arduino_due_x.build.usb_product="Arduino Due"
arduino_due_x.build.board=SAM_DUE
arduino_due_x.build.core=arduino
arduino_due_x.build.extra_flags=-D__SAM3X8E__ -mthumb {build.usb_flags}
arduino_due_x.build.ldscript=linker_scripts/gcc/flash.ld
arduino_due_x.build.variant=arduino_due_x
arduino_due_x.build.variant_system_lib=libsam_sam3x8e_gcc_rel.a
arduino_due_x.build.vid=0x0451
arduino_due_x.build.pid=0xBEF3


That didn't work. Then I looked into the driver and went to a random folder in system32 containing arduino.inf. I changed the due vid and pin there as well, and it still did not do anything. My due still doesn't have the proper usb settings.[/code]
#43
Do you know how to do this with a due? Cause someone asked me for my micro, and I gave it to them to use for a while. I didn't see due anywhere in boards.txt.
#44
I tried making pin0 and vid0 the modified values, and then I just tried making everything the modified values(I dont know how this works so I was just guessing at what to do). Heres what it is right now:


micro.name=Arduino/Genuino Micro

micro.vid.0=0x0451
micro.pid.0=0xBEF3
micro.vid.1=0x0451micro.pid.1=0xBEF3
micro.vid.2=0x0451
micro.pid.2=0xBEF3micro.vid.3=0x0451
micro.pid.3=0xBEF3

micro.vid.4=0x0451
micro.pid.4=0xBEF3

# If the board is a 2341:0237 use 2341:8237 for build and set
# other parameters as well
micro.vid.4.build.vid=0x2341
micro.vid.4.build.pid=0x8237
micro.vid.4.build.usb_product="Genuino Micro"
micro.vid.4.bootloader.file=caterina/Caterina-Genuino-Micro.hex

micro.vid.5=0x2341
micro.pid.5=0x8237
# If the board is a 2341:8237 use 2341:8237 for build and set
# other paramters as well
micro.vid.5.build.vid=0x2341
micro.vid.5.build.pid=0x8237
micro.vid.5.build.usb_product="Genuino Micro"
micro.vid.5.bootloader.file=caterina/Caterina-Genuino-Micro.hex

micro.upload.tool=avrdude
micro.upload.protocol=avr109
micro.upload.maximum_size=28672
micro.upload.maximum_data_size=2560
micro.upload.speed=57600
micro.upload.disable_flushing=true
micro.upload.use_1200bps_touch=true
micro.upload.wait_for_upload_port=true

micro.bootloader.tool=avrdude
micro.bootloader.low_fuses=0xff
micro.bootloader.high_fuses=0xd8
micro.bootloader.extended_fuses=0xcb
micro.bootloader.file=caterina/Caterina-Micro.hex
micro.bootloader.unlock_bits=0x3F
micro.bootloader.lock_bits=0x2F

micro.build.mcu=atmega32u4
micro.build.f_cpu=16000000L
micro.build.vid=0x2341
micro.build.pid=0x8037
micro.build.usb_product="Arduino Micro"
micro.build.board=AVR_MICRO
micro.build.core=arduino
micro.build.variant=micro
micro.build.extra_flags={build.usb_flags}
[\code]
#45
I have an arduino micro and I tried hooking it up. Unfortunately, I do not have a temperature sensor so I just copied over your code, but instead of sending a temperature value, I send over a ping distance. The program works with the computer, and my calculator powers my micro, but I cannot get the calculator to communicate with my micro. I tried changing the vid and pin of my micro to match what you specified, but I am not sure I did it correctly. Do you have any suggestions as for how to connect my arduino?
Powered by EzPortal