Problems with

Topics related to the HV Rescue Shield:
http://mightyohm.com/hvrescue2
Post Reply
ddt154
Posts: 1
Joined: Mon Mar 06, 2017 2:48 pm

Problems with

Post by ddt154 »

Problems with code. I followed the instructions, downloaded the HVRescue_Shield212_sketch and compiled it in Arduino IDE v1.8.1 and received the following warnings:

------------------
C:\Users\Admin\Desktop\HVRescue_Shield212\HVRescue_Shield212.pde: In function 'void setup()':
C:\Users\Admin\Desktop\HVRescue_Shield212\HVRescue_Shield212.pde:202:19: warning: converting to non-pointer type 'byte {aka unsigned char}' from NULL [-Wconversion-null]

byte response = NULL; // user response from mode query
^
C:\Users\Admin\Desktop\HVRescue_Shield212\HVRescue_Shield212.pde:241:23: warning: NULL used in arithmetic [-Wpointer-arith]

while(response == NULL) {

^
C:\Users\Admin\Desktop\HVRescue_Shield212\HVRescue_Shield212.pde:258:18: warning: converting to non-pointer type 'byte {aka unsigned char}' from NULL [-Wconversion-null]

response = NULL; // reset response so we go thru the while loop again.

------------------

*I uploaded it to my UNO R3 and via serial monitor @9600 Baud.. I got..

------------------
¦elect mode:
1: ATmega (28-pin)
2: ATtiny2313
3: ATtiny (8-pin) / HVSP
------------------

So I type in a 1 and hit Enter and nothing happens.

Any help would be appreciated.
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problems with

Post by mightyohm »

I will check this out and get back to you.
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Problems with

Post by mightyohm »

I just tested this with Arduino 1.8.1. The warnings are not an issue.
The sketch seems to be working fine.
Make sure the AVR is not plugged into the socket when you start the sketch, otherwise you will see the issue you are describing.
Post Reply