Resonances in one and two rows of triangular Josephson junction cells