tessue

Members
  • Content Count

    7
  • Joined

  • Last visited

Everything posted by tessue

  1. JColvin, Yes, that's what thy said when I decided to buy my own uC32, instead of using their loaner Uno32. I tried changing JP4 on and off, but no change. BTW, the default setting was open (not connected). I found the following though: 1. When I execute OledInit() from Oled.c and Oled.h, LD4 on the uC32 turns on. 2. When I execute OledDrawChar(), it returns 0. I guess that means it failed to draw character. Those function are found in 'Oled.h' and 'Oled.c'. I am start thinking that my uC 32, not i/o shield, is broken. Is there any diagnostics I can do to t
  2. Thanks, JColvin. Your answer is a bit over my head, but I will try my best to keep up with it. Currently I am working with MPLAB with C (Pickit3 for programming) , and using some files the instructor provided to access many i/o devices on the basic i/o shield. I attach them below in case you want to take a look. In the meantime, I just realize one thing. All the class documents are based on Uno 32, and I am using uC 32. Are they handle the OLED differently? I had an error message when I program the board, and fixed it by choosing correct microprocessor when I set up the pr
  3. Hi, I use uC 32 and Basic I/O shield in my microcontroller programming class. I am using utility functions provided in class to display strings on the OLED, but it is not working. I am not sure whether it is me that made mistake or the OLED is broken. All other things (SW, BTN, ADC, and LED's) are working fine with the utility functions provided to control them. I tried to get help from TA, but with remote class and all, it is rather difficult. Can someone share a easy way to check if the OLED is functional? I am using Pickit3 to program uC32. Let me know if you need any more infor
  4. Happy New Year, Jon. I followed your instruction, and down load the MPIDE sketch. I could open and compile it with my Arudino IDE without any problem. But when I upload it to uC32, I got the same "this does not look like a bootloader". Then I realize I don't know what you meant by "use this sketch". The only way I know of is open, compile, and upload from Arduino IDE. Should I do something else in this case? BTW, I really appreciate you replying my rather mundane questions. Thanks...
  5. Jon. After installing IDE again with sudo, I was able to compile "blink" sketch. However, when I tried to upload it, I got this error message. What am I missing now? Archiving built core (caching) in: /tmp/arduino_cache_262089/core/core_Digilent_pic32_chipkit_uc32_e7ab0b4d470f8fd4cbd0c478b4a8e72c.a Sketch uses 9052 bytes (1%) of program storage space. Maximum is 520192 bytes. Global variables use 3060 bytes (9%) of dynamic memory, leaving 29708 bytes for local variables. Maximum is 32768 bytes. DigilentPGM V1.00 Digilent Copyright 2016 Written by Keith Vogel Sunday, Dec
  6. Thanks for the response, Jon. uC 32 is the only digilent board I have, but my Arduino Uno works fine with the current IDE setup. I don't think I was root when I install either Arduino IDE or digilent core. I tried the chipkit core, but it didn't work either, so I switch to the digilent core hoping it would work better. So far, no luck. Any suggestion I should try next?
  7. I just installed "digilent_core" in the arduino IDE 1.8.5 on my ubuntu 16.04. When I tried to run "blink" sketch on the uC 32, it failed to compile with the following error message. Can anyone help? Arduino: 1.8.5 (Linux), Board: "chipKIT uC32" /home/tessue/Downloads/arduino-1.8.5/arduino-builder -dump-prefs -logger=machine -hardware /home/tessue/Downloads/arduino-1.8.5/hardware -hardware /home/tessue/.arduino15/packages -tools /home/tessue/Downloads/arduino-1.8.5/tools-builder -tools /home/tessue/Downloads/arduino-1.8.5/hardware/tools/avr -tools /home/tessue/.arduino15/packages -b